Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.




  • 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

The management interface for Scripting is the Scripter window, which contains the:

  • Script Tree View (Scripts tab), which you use to review, create and edit scripts
  • Script Console (Console tab), which you use to operate on an executing script.


Scripts are managed in groups. The first group in the list is always Local Scripts, which are available to any model. You cannot create, edit, drag-and-drop or delete these scripts. Local Scripts 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.

All other groups are User Scripts, which you create yourself. A user group can be one of four types, each of which applies a template and certain conditions to the scripts you create within that group. User scripts are only visible inside the model in which they were created; the contents of the scripts are stored with the model, although they can be saved to the file system easily using the Script Editor.