This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
howtos:toolcoding:tool_shell_scripts [2010/03/16 13:03] shona.weldon |
howtos:toolcoding:tool_shell_scripts [2011/05/13 12:27] shona.weldon |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== TOOL Shell Scripts ====== | ====== TOOL Shell Scripts ====== | ||
- | Sometimes it is useful to use TOOL scripts in a "sandbox" or "scratchpad" manner—for experimentation, learning new tools, instant feedback, etc.—without the overhead of setting up a new model family and framework, and without the worry of breaking anything. In this cases, TOOL shell scripts can be handy. | + | Sometimes it is useful to use TOOL scripts in a "sandbox" or "scratchpad" manner—for experimentation, learning new tools, instant feedback, etc.—without the overhead of setting up a new model family and framework, and without the worry of breaking anything. In these cases, TOOL shell scripts can be handy. |
Using the TOOL shell application, which can be launched from the Programs menu under the whatIf grouping, gives you an interactive TOOL session which can be used to run tool commands directly or run a tool script. | Using the TOOL shell application, which can be launched from the Programs menu under the whatIf grouping, gives you an interactive TOOL session which can be used to run tool commands directly or run a tool script. | ||
Line 108: | Line 108: | ||
* Run your script: | * Run your script: | ||
<code> | <code> | ||
- | TOOL> tool -l myScript.t | + | TOOL> tool myScript.t |
</code> | </code> | ||