The Scripter Window
Notes: |
|
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:
- Script Tree View (Scripts tab of the Scripter window)
- Script Console (Console tab of the Scripter window)
- Script Editor.
The material ("material" includes all pages, documents and on-line graphics) on this web site is protected by copyright law. (C) 1998-2008 Sparx Systems Pty Ltd.