Table of Contents Previous Section

4.5.1 Text Script Menus


The Main Text Script Menu is shown in Exhibit 4.5.1-1.

Exhibit 4.5.1-1. The Main Text Script Menu

It can be opened from the Menu Bar in any of the Text Display Windows and contains the following commands.

Edit...

The Edit menu button opens a Text Script Editor Window, shown in Exhibit 4.5.1-2.

Exhibit 4.5.1-2. The Text Script Editor Window

Exhibit 4.5.1-3 shows a Text Script Editor Window containing a sample script.

Exhibit 4.5.1-3. The Text Script Editor Window with Sample Script

This window has a Menu Bar with the following commands.

File: The File pull-down menu contains commands for viewing, saving, and printing text scripts. Refer to Exhibit 4.5.1-4.

Exhibit 4.5.1-4. The Text Script File Menu

- New (Ctrl+T): This menu button opens a new script.

- Open (Ctrl+O): Opens the Open Script File Dialog Box shown in Exhibit 4.5.1-5.

Exhibit 4.5.1-5. The Open Script File Dialog Box

You can open an existing script by selecting the Script File Name and pressing OK.

- Save (Ctrl+S): A Menu option that saves the current script.

- Save As (F3): This menu button opens the Save Script As Dialog Box that allows you to name or rename a script. Refer to Exhibit 4.5.1-6.

Exhibit 4.5.1-6. The Save Script As Dialog Box

- Rename: This option opens the Rename Script Dialog Box, which looks the same as Exhibit 4.5.1-6 except for the title. In this dialog box, you can change the name of your script.

- Delete: A menu button that opens the Delete Script Dialog Box and enables you to delete one or more scripts.

- Print (Ctrl+P): A menu button that makes a hard copy of a script.

- Close (Alt+F4): A menu button that closes the Script Editor Dialog Box.

Note: The filename field on the Save Script As Dialog box contains a period (.) at the end of the path listing. You should type over the period when you provide a filename. Scripts are saved as UNIX files and a period as the first character in a UNIX filename results in a hidden file.

Edit: The Edit pull-down menu is shown in Exhibit 4.5.1-7. It contains standard editing options, which are nearly the same as the Text Display Editor discussed in Section 4.2.3 Edit. The keyboard shortcut options for the Text Editor, as shown in Table 4.2.3-1, also apply here. The Delete, Undelete, Search, and Options menus are also the same as the Text Editor's. Refer to Section 4.2.3 for detailed information on these options.

Exhibit 4.5.1-7. The Edit Pull-Down Menu

Execute: A pull-down menu, shown in Exhibit 4.5.1-8, containing the controls that operate the scripts.

Exhibit 4.5.1-8. The Execute Script Pull-Down Menu

- Run: A button that starts a Text Script. As a script runs, status messages are given at the bottom of the Text Display Window, which is illustrated in Exhibit 4.5.1-9.

Exhibit 4.5.1-9. The Status Messages of a Currently Running Script
- Show Output: A toggle button that opens the Script Output Dialog Box, which lets you know if the script is running correctly. Refer to Exhibit 4.5.1-10.

Exhibit 4.5.1-10. A Script Output Dialog Box

- Continue: A menu option that resumes the running of a script. The button for this is shown in Exhibit 4.5.1-8.

- Skip Wait: A menu option that lets you ignore a "Wait" command in a script. When a script is running, a Skip Wait menu button is available at the bottom of the Text Display Window (see Exhibit 4.5.1-8).

- Cancel: An option that interrupts a script that is running. When a script is running, a Cancel menu button is available at the bottom of the Text Display Window, as shown in Exhibit 4.5.1-8.

Help: A pull-down menu that contains the basic and advanced script commands, as well as helpful information and examples of how to use each command.

Highlight the desired command and click the "Help" button. This information is provided through Netscape.

- On Basic Commands: Exhibit 4.5.1-11 shows the menu of basic script commands.

Exhibit 4.5.1-11. The Basic Script Commands Help Menu (with Netscape)

Each command is briefly defined in Table 4.5.1-1.

Table 4.5.1-1. Basic Script Command Definitions

 
For additional help with each command, click the Help button in the lower left corner of the Basic Command Dialog Box. This opens Netscape to a Universal Resource Locator (URL) that displays help pages with fundamental information and examples of how to use this command. Each command has its own Web page.
- On Advanced Commands: Exhibit 4.5.1-12 shows the Advanced Script Commands Help Menu.

Exhibit 4.5.1-12. The Advanced Commands Help Menu (with Netscape)

The advanced script commands are used when setting up macros and other office programs and are intended for users with programming skills and an understanding of UNIX.

Additional help for these commands is obtained by clicking the Help button in the lower left corner of the dialog box. This opens Netscape to a URL that displays help pages with fundamental information and examples of how to use each command. Each command has its own Web page.

The remaining commands in the Script pull-down menu (Run, Show Output, Continue, Skip Wait, and Cancel), as shown in Exhibit 4.5.1-1, are redundantly placed in other menus for user convenience. These were discussed in the previous sections.

Table of Contents Next Section