Using Passolo Automation
- The PassoloApp Object
The mother object in Passolo is the object PassoloApp. This is a direct reference to the Passolo program itself. It provides some helper functions and gives you access to all other Passolo objects. For a complete description of all objects and attributes refer to the chapter Passolo Object Model Reference. - Projects
The collection PslProjects contains all projects that are opened in Passolo. You access this collection with PassoloApp.Projects. - Source lists
The collection PslSourceLists contains the source lists of a project. Your access this collection with PassoloApp.SourceLists. - Translation Lists
The collection PslTransLists contains the translation lists of a project. Your access this collection with PslProject.TransLists. - Languages
The collection PslLanguages contains the target languages of a project. Your access this collection with PassoloApp.Languages. - Example 1 - Changing simulate translation
This example shows how you can change the way Passolo generates a simulated translation of a source file by implementing a call back handler in the system macro. - Example 2 - Adding checks
This example demonstrates the use of external components (Microsoft VBScript Regular Expressions) and the use of regular expression. - Example 3 - Creating a project
This examples demonstrates the use of macros that can be invoked by pressing a shortcut and the use of dialogs in macros. - Example 4 - Integrating the TRADOS Workbench
It is possible to get translations for texts also from other applications. This example demonstrates how the TRADOS Workbench can be used for automatic translation. - Example 5 - Handling of other file types
This examples demonstrate how to write handler that is able to parse and generate INI files. - Example 6 - Automate PASSOLO from Visual Basic
This example demonstrates how you can automate Passolo from another application. A Visual Basic application is used to create a temporary project with notepad.exe as a source file. A sheet in Excel will be opened and all source strings will be copied to the Excel sheet. Passolo will be closed and the temporary project will be deleted.