02.03.2014 Views

Tornado

Tornado

Tornado

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Tornado</strong> 2.0<br />

User’s Guide<br />

Cancel<br />

Discards your changes without modifying the Tools menu.<br />

The three text boxes near the bottom of the Customize Tools dialog box allow you to<br />

specify or change the attributes of a custom command.<br />

Menu Text<br />

Contains the name of the custom command, as it appears in the Tools menu.<br />

Tool Command<br />

Specifies the instructions to execute your command. You can place anything<br />

here that you could execute at the command prompt or in a batch file. Click the<br />

button at the right of the box to see a pop-up menu including a browse option<br />

and a list of macros which allow you to capture <strong>Tornado</strong> context in your<br />

commands. See Macros for Customized Menu Commands, p.285 for explanations<br />

of these macros.<br />

Working Directory<br />

Use this field to specify where (in what directory) to run the custom command.<br />

You can edit the directory name in place, or click the button at the right of this<br />

field to bring up a menu similar to the Tool Command menu. It includes a<br />

directory browser where you can search for the right directory and the same<br />

list of macros. To use the <strong>Tornado</strong> working directory, leave this field blank.<br />

At the bottom of the Customize Tools dialog box are the following check boxes:<br />

Prompt for Arguments<br />

When this box is checked, <strong>Tornado</strong> prompts for command arguments using a<br />

dialog box, when you click the new command. The command line is displayed<br />

in a window where you can add additional information. (See Figure 8-5.)<br />

Figure 8-5<br />

Command Line Arguments Dialog Box<br />

Redirect to Child Window<br />

When this box is checked, <strong>Tornado</strong> redirects the output of your command to a<br />

child window—a window contained within the <strong>Tornado</strong> application window.<br />

Otherwise, the command runs independently, either as a console application<br />

or a Windows application.<br />

284

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!