Documentation Center

PassoloApp.ImportOptions

Imports options from a profile or an options file.

Syntax

Expression.ImportOptions (ProfileOrPath as String, optional] Content as Variant) as Boolean

Expression Required. Object of type PassoloApp

ProfileOrPath An profile name or the path to an option file. To create an profile or an option file use the Export command in the Passolo options dialog.

Content optional, Specifies the options to be loaded. It is a comma-separated list of values corresponding to the pages of the Options dialog:view, filter, toolbars, listops, transdlg, languages, leverage, pretrans, fuzzy, concordances, terminology, replicates, assistant, check, spellcheck, binaries, simulation, sytemmacro, batch, users, system, system2, folders. If the parameter is missing all options available in the profile or options file are loaded .

Text The message string

Example

' Creates a translation bundle for each language
Sub Main
  PSL.ImportOptions("MyOptions", "pretrans,fuzzy")
End Sub