Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Scripts Tab
Topics
The Scripts tab toolbar provides the following options:
Reference
Icon |
Action |
See also |
||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Create a new script group; this option displays a short menu of the types of script group you can create, namely:
The new group is added to the end of the list in the Scripting window, with the 'New group' text highlighted so that you can type in the group name.
|
|
|||||||||||||
Create a new script file in the selected script group; displays a short menu of the types of script you can create, namely:
The new script is added to the end of the list in the selected group, with the 'New script' text highlighted so that you can type in the script name.
|
|
|||||||||||||
Refresh the script tree in the Scripting window; this icon also reloads any changes made to a workflow script.
|
|
|||||||||||||
Compile and execute the selected script. The output from the script is written to the Script tab of the Output window, which you display using the View Script Output button (below).
|
|
|||||||||||||
Stop an executing script; the icon is disabled if no script is executing.
|
|
|||||||||||||
Delete a script from the model; you cannot use this icon to delete a script group (see the Context Menu item above), scripts in the Local Scripts group, or a script that is executing. The system prompts you to confirm the deletion only if the Confirm Deletes checkbox is selected in the Project Browser panel of the General page of the Options dialog; if this option is not selected, no prompt is displayed. Script deletion is permanent - scripts cannot be recovered.
|
||||||||||||||
Display the Output window with the results of the most recently executed script displayed in the Script tab.
|
|
Notes
• | This facility is available in the Corporate, Business and Software Engineering, Systems Engineering and Ultimate editions |
• | If you add, delete or change a script, you might have to reload the model in order for the changes to take effect |
• | If you select to delete a script group that contains scripts, the system always prompts you to confirm the action regardless of any system settings for delete operations; be certain that you intend to delete the group and its scripts before confirming the deletion - deletion of script groups and scripts is permanent |