Linking a Script to a Toolbar Button
You can add buttons to the Scripting Tools toolbar so that you can access them easily. They will appear to the right of the default Scripting Toolbar buttons.
To link a script to a toolbar button:
|
1.
|
In the Scripting Tools toolbar, click on the Manage Scripts button. |
A dialog box containing all of the available scripts opens.
|
2.
|
In the Files list, select the JavaScript file containing the function you want to add to the toolbar. |
|
3.
|
In the Functions list, select the function to add to the toolbar. |
|
4.
|
Click on the Right Arrow button to add the function to the In Toolbar list—see Toolbar Manager. |
|
5.
|
Click on OK to add the button and close the dialog box. |
To execute a script:
|
2.
|
You can press the [Esc] key to interrupt the execution of a script. |
Related Topics