Script Editor

Automator supports the use of Visual Basic.NET script in three main areas:

  • Global Environment Scripts: Global scripts allow users to view functions, classes, and variables, that are available or will execute over all processes. It also allows the setting of global assembly imports and references, which are valid over Automator process boundaries.

  • Project Scripts: Project scripts are used for project-specific scripting.

  • Process Scripts: Process scripts are used for process-specific scripting, enabling you to specify pre-process and post-process operations that execute before or after any operations in the process itself.

NOTE: Automator users can only edit these scripts if they are granted editing privileges by the Admin.

Accessing Script Editor

As the Script Editor can be accessed from several places within Automator, its contents can vary:

  • PreExport tab: Specifies project-specific, pre-export declarations, e.g., to apply a pre-export script to the input file. Note: This tab is displayed only for project-specific scripting.

  • PostExport tab: Specifies project-specific, post-export declarations, e.g., to add steps to further process the export file(s). Note: This tab is displayed only for project-specific scripting.

  • PreProcess tab: Specifies process-specific, pre-process declarations. Note: This tab is displayed only for process-specific scripting.

  • PostProcess tab: Specifies process-specific, post-process declarations. Note: This tab is displayed only for process-specific scripting.

  • Global Declarations tab: Specifies Dim statements or other statements that must be global to the entire script module.

  • References and Imports tab: Specifies additional .NET assembly references and namespaces required by the PostExport, PreExport, and Global Declarations tabs.

  • Passwords tab: Specifies passwords for use in password macros.

You can open Help on user scripting by clicking on the User Scripting Help button. The button is available on the following tabs:

  • PreExport tab

  • PostExport tab

  • PreProcess tab

  • PostProcess tab

  • Global Declarations tab

 

(c) 2023 Altair Engineering Inc. All Rights Reserved.

Intellectual Property Rights Notice | Technical Support