The Scripter Window

Notes:

  • This facility is available in the Corporate, Business and Software Engineering, Systems Engineering and Ultimate editions.
  • If you intend to use the Scripting facility under Crossover/WINE, you must also install Internet Explorer version 6.0 or above.

Scripts executed in Enterprise Architect have access to the currently open model and are a powerful tool for querying and updating  the model in situations that would otherwise require you to perform time consuming and repetitive GUI tasks. Enterprise Architect supports management of scripts using the following script engines:

  • JavaScript
  • Microsoft JScript
  • Microsoft VBScript

Scripts are managed in groups, which can be one of two types:

  • Local scripts - available to any model; these are files in the Scripts subdirectory of the Enterprise Architect installation - any instance of Enterprise Architect that has a currently open model can see these scripts.
  • User scripts - only visible inside the model in which they were created; the contents of these scripts are stored with the model, although they can be saved to the file system easily using the script editor.

The management interface for Scripting comprises: