Methods
- PassoloApp.ConvertASCII2Unicode
The SAX Basic Engine uses Unicode to store text. If you read text from an ASCII file, the current system codepage is used to convert the text to Unicode. In case that the text is based on a different codepage, the text needs to be converted to Unicode using the correct codepage with ConvertASCII2Unicode. - PassoloApp.ConvertUnicode2ASCII
The SAX Basic Engine uses Unicode to store text. If you write text to an ASCII file, the current system codepage is used to convert the text. In case that the text is based on a different codepage, the text needs to be converted from Unicode using the correct codepage with ConvertUnicode2ASCII before writing to the file. - PassoloApp.GetConcordances
Returns a list of concordances for one string. The function will search through all concordance providers as set up in the SDL Passolo options. But, in contrast to the Passolo application this function only uses translation providers that are capable of return synchronous results. - PassoloApp.GetDefaultCodePage
Returns the default code page of a language. - PassoloApp.GetLangCode
Returns a language or region/country code as string. - PassoloApp.GetLangID
Returns a language id as integer. If the id is not defined the return value is -1. - PassoloApp.GetLastOutput
Returns the text that has been written to the Passolo Message Window during the last command. - PassoloApp.GetTerminology
Returns a list of terminology items for one string. The function will search through all terminology providers as set up in the SDL Passolo options. But, in contrast to the Passolo application this function only uses translation providers that are capable of return synchronous results. - PassoloApp.GetTextCounts
Counts Words, letters and characters in a string. The count results are stored in the returned PslStringCounter object. - PassoloApp.Import
Imports data from an external file and returns the updated PslTransList. - PassoloApp.ImportOptions
Imports options from a profile or an options file. - PassoloApp.Output
Prints a message to the output windows of SDL Passolo. - PassoloApp.Quit
Quits SDL Passolo. Cannot be used in an internal script. - PassoloApp.SelectFile
Calls a dialog where the user can select a file - PassoloApp.SelectFolder
Calls a dialog where the user can select a folder - PassoloApp.SendAddInMessage
Sends an arbitrary message to an add-in. The parameters ar send using the PAIFN_OnMacroMessage function. - PassoloApp.ShowAppStatus
Creates a status display in the status bar of the main window. This can be a simple text line or a progress bar. - PassoloApp.TranslateText
Returns a list of translations for one string. Depending on MinMatch it looks for pre-translations or fuzzy matches. The function will search through all translation providers as set up in the SDL Passolo options. But, in contrast to the Passolo application this function only uses translation providers that are capable of return synchronous results - PassoloApp.TransLists
This function is obsolete and must not be used anymore. It's not possible to load .trx files anymore. - PslCloudBundle.AddTransList
Adds a string list to the Translation Bundle. - PslCloudBundle.AddReferenceFile
Adds a file reference to the Cloud Bundle. - PslCloudBundle.SetFilter
Sets a filter on for the string lists. - PslCloudBundle.SetProject
Sets the project of the cloud bundle. - PslGlossaries.Add
Adds a glossary to the collection of glossaries. If successful the function returns the glossary as a PslGlossary object. - PslGlossaries.Item
Item returns a PslGlossary contained in the collection. The glossary can be specified by its index or its title. Item is the standard function, so the Name can also be omitted. - PslGlossaries.Remove
Removes a glossary. The glossary can be specified by its index or its filename. - PslGlossary.CreateQuickIndex
Creates the glossary's QuickIndex. - PslHistoryItem.GetRect
Returns the coordinates of the history item (if it is a dialog control). The coordinates are always returned in dialog units. - PslLanguages.Add
This method adds a new target language to the project. - PslLanguages.AddLangCode
This method adds a new target language to the project. Unlike PslLanguages.Add the language is given by a defined language code type. - PslLanguages.FindLangCode
This method finds a PslLanguage in the project. The language is given by a defined language code type. - PslLanguages.FindLangID
This method finds a PslLanguage in the project. The language is given by a language ID. - PslLanguages.Item
Item returns a language contained in the PslLanguages collection. The language can be specified by the index (1,...), the language ID or the language code. Item is the default method, so the name can be omitted. - PslLanguages.Remove
This method deletes a target language from the project. Additionally all corresponding translation lists will be deleted. - PslOutputWnd.Clear
Clears the Output window. - PslProject.AddTargetPathRule
Adds a new target path rule to the project. Use PslSourceList.SetTargetPathRule and PslTransList.SetTargetPathRule to assign the rule to string lists. - PslProject.BaseLanguage
If this project is cascaded BaseLanguage returns the target language id in the base project file. This property can only be set, if the project is cascaded. - PslProject.BaseProject
If this project is cascaded BaseProject returns the path of base project file. This property can only be set, if the project is cascaded or it does not already contain source files. - PslProject.Close
Closes the project. After the project is closed most functions of the project object will return an error message. - PslProject.CreateQuickIndex
Creates the project QuickIndex. - PslProject.Export
Exports one or more string lists to a specified file. If the export functions has options, the last options set manually will be used for the export. Returns True, if the operation was successful. False indicates an error. - PslProject.ExportCloudBundle
Exports your Passolo project to the cloud - PslProject.ExportGroupShareBundle
- PslProject.ExportTransBundle
Creates translation bundle. - PslProject.FindTargetPathRule
Returns the ID of a target path rule with a given name. With this function you cannot find target path rules, that are defined by parser add-ins. - PslProject.Import
Imports data from an file that has been exported with PslProject.Export or PslTransList.Export. - PslProject.ImportBinaryResource
Imports a binary file (e.g a bitmap or icon) to its matching resource. The file to import must have a special name with internal numbers to find the matching translation list and resource. This file name is created when the resource has been exported, using ExportBinary without an explicit file name. - PslProject.ImportCloudBundle
Imports a project from the cloud to Passolo. - PslProject.ImportGroupShareBundle
- PslProject.ImportTransBundle
Imports data from an file that has been exported with PslProject.ExportTransBundle - PslProject.IsTransBundle
Returns True, if the project is a translation bundle. Read-only property. - PslProject.LogMessage
Writes a message into the log window and into the log file of the project - PslProject.Maintenance
Performs a project maintenance operation. I.e. it calculates project-wide references and relations. - PslProject.PrepareCloudBundle
Prepares your Passolo project for cloud export. - PslProject.PrepareGroupShareBundle
- PslProject.PrepareTransBundle
Creates a PslTransBundle object to collect translation lists, glossaries and macros, that are exported to a translation bundle. - PslProject.Properties
Returns the PslProperties object that contains all custom properties of this PslProject. - PslSourceList.Property
Returns a custom property of the project. Custom properties are defined by add-ins or macros. - PslProject.ResumeSaving
You must call ResumeSaving for each call to SuspendSaving to have you project data saved again. - PslProject.SynchronizeExports
Synchronizes all exports to translation bundles or the exporting project. Same as menu command File/Synchronize Exports. - PslProject.SuspendSaving
When a macro changes data in a project, the project file is saved immediately. If your project has many string lists, this can take a long time. You can speed up your operation by suppressing the saving of the project. For each call to SuspendSaving you must call ResumeSaving after the operation. - PslProject.UpdateSourceLists
Updates all source lists in this project. - PslProject.UpdateTransLists
Updates all translation lists in this project. - PslProjects.Add
A new empty project is generated. If the project already exists, an error message will be displayed. - PslProjects.Close
Closes all open projects. - PslProjects.Item
Item returns a project contained in the PslProjects collection. The project can be specified by its index or its title. Item is the standard function, so the Name can also be omitted. - PslProjects.Open
Opens an existing project. If the project is already open, it will just be returned. - PslProperties.Find
Returns an index if the property Name exists. - PslProperties.RemoveAll
Removes all custom properties in this PslProperties object. - PslResData.AddFileExtension
Add a file extension to the list of supported file extensions. - PslResData.AddLanguage
Call this function for each language contained in the source file. - PslResData.GetEntryData
Get data of resource string. After calling ProcessEntry, you can obtain the resource text in the target language. - PslResData.ListResource
For each resource contained in the source file call this method. - PslResData.ProcessEntry
Let SDL Passolo process a new resource string. Before you can process any resource texts you must call PslResData.ProcessResource to create a resource, in which the resource string can be stored. - PslResData.ProcessResource
Let PASSOLO process a new resource. This method must be called before processing resource string with ProcessEntry. - PslResData.SetEntryData
Set the data for a resource entry before calling PslResData.ProcessEntry. See PslReasData.GetEntryData for an complete example. In the Programmers Reference you find a complete example how to use PslResData. - PslResource.AutoLayout
Performs an auto-layout operation on this resource. Currently this works only with dialogs from WIN32 and RC files. - PslResource.ChangeID
Changes the ID of the resource. This ID identifies the resource both in the source file and the target file. If the ID is changed the resource may no longer be relatable. So be careful using this function. - PslResource.ExportBinary
Writes a binary resource (bitmap, icon, ...) to a file. - PslResource.ImportBinary
If this resource is binary (e.g. a bitmap or icon) and part of a translation list, then you can import a file of the same type. - PslResource.OpenResourceEditor
Opens the resource editor for this resource. - PslResourceEditor.FlipLayout
If the current resource editor is a dialog editor: Flips the layout of all controls, i.e. it toggles the direction from right to left. - PslResourceEditor.ResetLayout
If the current resource editor is a dialog editor: Resets the layout of all controls. - PslSourceDisplay.String
Returns a PslSourceString object from this string list window. This string belongs to any of the string lists that are currently opened. - PslSourceDisplay.StringCount
Returns the number of strings in the source list window. The number refers to all string lists, that are currently opened. - PslSourceList.Close
Closes a string list, if it is open. - PslSourceList.Open
Opens the string list. - PslSourceList.Save
Saves the source string list if it was changed. - PslSourceList.SetTargetPathRule
Assigns a target path rule to the source list. - PslSourceList.Update
Creates or updates the source list. Returns True, if the update was successful and False, if the update failed. - PslSourceList.UnExport
Releases the string list if is currently exported to a translation bundle. After that the string list cannot be imported anymore. Returns True, if the un-export was successful and False, if the string list has not been exported. - PslSourceLists.Add
Adds a new source file to the project. - PslSourceLists.AddWithParser
Adds a new source file to the project and defines the parser that is to be used. - PslSourceString.ChangeID
Modifies the ID of a string. - PslSourceString.GetOldRect
Returns the old coordinates (before last update) of the string object. - PslSourceString.GetRect
Returns the current coordinates of the string object - PslSourceString.GetTextCounts
Counts words, letters and characters in the text of this source string. The count results are stored in the returned PslStringCounter object. - PslTasks.Add
Adds a new task to the task collection. - PslTasks.Delete
Deletes a task from the PslTasks collection. - PslTransBundle.AddAllProjectUserFiles
Adds all current user files from the project to the translation bundle. - PslTransBundle.AddGlossary
Adds a glossary to the translation bundle. The glossary can be indicated with its file path or as PslGlossary-Object. - PslTransBundle.AddMacro
Adds a macro to the translation bundle. - PslTransBundle.AddOptions
Adds an options profile or an option file to the translation bundle. These options will be used when the translator opens the translation bundle. - PslTransBundle.AddTransList
- PslTransBundle.AddUserFile
Adds an arbitrary file to the bundle. - PslTransBundle.License
Licenses the translation bundle for beeing editable by the SDL Passolo Translator Edition. - PslTransBundle.MarkAsExported
If this property is FALSE the exported translation lists will not be marked as "exported" when writing the translation bundle. The translation lists will stay editable, but the translation bundle cannot be imported again. - PslTransBundle.RemoveRight
Removes one or more of the rights for the translator that works with the translation bundle. - PslTransBundle.SetComment
Set an arbitrary comment string for the translation bundle. - PslTransBundle.SetRefLanguage
Adds an additional column to the string lists in the translation bundle, that contains the text of another translation list. - PslTransBundle.SplitBundle
Splits the translation bundle in parts. Each part allows access to another block of strings. Other strings are set to read-only. - PslTranslations.Add
Adds a translation to the collection of translations. - PslTranslations.Item
Item returns a translation contained in the PslTranslations collection. - PslTranslations.Remove
Removes a translation. - PslTransList.AutoTranslate
Executes the command Auto-Translate for this string list. - PslTransList.Check
Performs a check on this translation list. If errors are found they are written to the output window. The error messages can be accessed with the object PslOutputWnd. Check returns the number of errors. - PslTransList.Close
Closes the string list if it is open. - PslTransList.CreateSimulation
Creates a translation list, that is a copy of this translation list with simulated translations. If this is already a simulation list, then the simulated strings are newly calculated. It returns a reference to the simulation list. - PslTransList.DecorateText
Adds additional leading or trailing characters to Text. Which characters are added depends on the settings in the tab Edit in the dialog Options. - PslTransList.Delete
Deletes the translation list from a specified file. Returns True, if the operation was successful. False indicates an error. - PslTransList.Export
Exports the translation list to a specified file. If the export functions has options, the last options set manually will be used for the export. Returns True, if the operation was successful. False indicates an error. - PslTransList.FindID
Returns a PslTransString with a given ID. - PslTransList.GenerateTarget
Generates the target list from the translation list. Returns True, if the operation was successful. False indicates an error. - PslTransList.GetConcordances
Returns a list of concordances for one string. The function will search through all concordance providers as set up in the SDL Passolo options. But, in contrast to the Passolo application this function only uses translation providers that are capable of return synchronous results. - PslTransList.GetStatistics
Returns statistical information about the translation list in a PslStatistics object. - PslTransList.GetTerminology
Returns a list of terminology items for one string. The function will search through all terminology providers as set up in the SDL Passolo options. But, in contrast to the Passolo application this function only uses translation providers that are capable of return synchronous results. - PslTransList.Import
Imports the translation list from a specified file. Returns True, if the operation was successful. False indicates an error. - PslTransList.Leverage
Performs a leverage operation for this translation list. The current leverage options are used. - PslTransList.Open
Opens the string list. - PslTransList.Save
Saves the string list if it was changed. - PslTransList.ScanTargetFile
Scans a target file and aligns the resource data with the translation list. The result is a translation list which contains the translated text and attributes of the scanned file. - PslTransList.SetTargetPathRule
Assigns a target path rule to the source list. - PslTransList.SimulateTranslation
Generates the target list from simulated translations. The current settings from the application options are used. Returns True, if the operation was successful. False indicates an error. - PslTransList.TranslateText
Returns a list of translations for one string. Depending on MinMatch it looks for pre-translations or fuzzy matches. The function will search through all translation providers as set up in the SDL Passolo options. But, in contrast to the Passolo application this function only uses translation providers that are capable of return synchronous results. - PslTransList.UndecorateText
Removes additional leading or trailing characters from Text. Which characters are removed depends on the settings in the tab Edit in the dialog Options. - PslTransList.Update
Creates or updates the translation list. Return True, if the update was successful and False, if the update failed. - PslTransList.UnDelete
Restores the translation list. Returns True, if the operation was successful. False indicates an error. - PslTransList.UnExport
Releases the string list if is currently exported to a translation bundle. After that the string list cannot be imported anymore. Returns True, if the un-export was successful and False, if the string list has not been exported. - PslTransLists.Add
- PslTransLists.Application
Returns the PassoloApp object, read-only property. - PslTransLists.Count
Returns the number of translation lists of a project. - PslTransLists.Item
Item returns a translation list contained in the PslTransLists collection. The translation list can be indicated by its index (1,...), its source string list name or a language code. Item is the standard function, so the name can be omitted. - PslTransLists.Open
This function is obsolete and must not be used anymore. It's not possible to load*.trxfiles anymore. - PslTransLists.Parent
This property returns the corresponding PslProject object, read-only property. - PslTransString.GetRect
Returns the current coordinates of the translation string object. - PslTransString.GetSourceRect
Returns the coordinates of the source string object. - PassoloApp.GetSourceTextCounts
Counts Words, letters and characters in the source text of this string. The count results are stored in the returned PslStringCounter object. - PslTransString.GetTextCounts
Counts Words, letters and characters in the translation text of this string. The count results are stored in the returned PslStringCounter object. - PslStatistics.Total
Returns Counter information for all strings in the translation list. The counts are returned in an PslStringCounter object. - PslTransString.History
Returns the PslHistoryItems object that contains all stored history entries of this PslTransString. - PslTransString.OutputError
Outputs an error message to the log window. The user can jump to the translation string with F4 or by double clicking on the error message. - PslTransString.Properties
Returns the PslProperties object that contains all custom properties of this PslTransString. - PslTransString.SetRect
Sets the rect coordinates of the translation string object. - PslTransString.SetTranslation
Sets translation for a single entry. - PslUserFiles.Add
Inserts a new user file to the project. - PslUserFiles.Extract
Extracts an embedded user file from the project to a directory. Returns True, if the operation was successful. False indicates an error.