Difference between revisions of "Setting up scripting"
(→Setting up scripting) |
|||
Line 1: | Line 1: | ||
− | |||
=== Setting up scripting === | === Setting up scripting === | ||
Revision as of 20:20, 15 February 2012
Setting up scripting
Like the paint toolbar, you can choose to show it on an as-needed basis or not to show it on an as-needed basis. To display the scripting toolbar on an as-needed basis, select Toolbars > Scripting Toolbar (Figure 1) MIPAV.
The scripting toolbar immediately appears beneath the VOI toolbar or, if the Paint toolbar is also displayed, immediately below the Paint toolbar. See Figure 2.
Scripts Home
The scripts home is the directory where you store scripts, and from which you run them. After you select a scripts home, the name of one of the scripts (which are ordered alphabetically) in that directory appears after Current Script on the scripting toolbar (Figure 3). If there is more than one script in the directory, Current Script becomes a list box from which you can select the script to run.
To set up Scripts Home
After you've selected a scripts home and run a script for the first time, Current Script becomes a list box that shows the name of a script in the scripts home directory (Figure 3). After creating more scripts, you can select the one you want to run from Current Script.