Table of Contents Previous Section

4.5.2 Text Script Practice Modules


Module 19: Text Scripting

Objective 1 - Edit a Simple Text Script

This objective shows you how to edit a script using the basic script commands.

1. From the Text Display Control Dialog Box, open the File pull-down menu and select your User ID.

2. From the Text Display Control Dialog Box, open a Text Display Window.

3. From the Scripts pull-down menu, select Edit.

4. From the Help pull-down menu of the Script Editor Window, select Basic Command List. Keep this list to the side for reference.

5. In the Script Editor Window, type the following:

accum on;

load okcmtr000;

wait 00:00:10;

load okcstpok;

wait 00:00:10;

load okcccfokc

6. Under the File pull-down menu, select Save As. When the Save As Dialog Box appears, name the script test.script. The complete path name is

/data/fxa/scripts/your user ID/test.script

7. Once you have saved your script, select OK in the Save As Dialog Box.

8. Close the Script Editor Dialog Box.

Objective 2 - Run a Text Script

Now that you have written a Text Script, this objective shows you how to run it.

1. From the Script pull-down menu, select Run. When the Run Script Dialog Box appears, select test.script and click the OK button. The selected script should start running immediately.

2. Observe the OKCMTR000 Product as it is displayed in the Text Display Window. Notice also the status messages at the bottom of the window.

3. The script pauses 10 seconds before loading the OKCSTPOK Product and again before loading the OKCCCFOKC Product.

4. Once the script is done, the status message disappears and the three OKC Products are accumulated in the Text Display Window.

Objective 3 - Show Output

1. From the Script pull-down menu, toggle on the Show Output check button.

2. Repeat Steps 1-4 in Objective 2.

3. Observe the messages in the Show Output Dialog Box.

Objective 4 - Delete a Script

1. From the Script pull-down menu, select Edit.

2. From the File pull-down menu of the Script Editor Window, select Delete. The Delete Script Dialog Box appears.

3. Choose the test script that you wrote in Objective 1 and click OK. A confirmation dialog box appears. Press Yes to delete the script.

Table of Contents Next Section