Script

Click Tools > Macros > Script to run a script file.

The SCRIPT command loads and runs a script file (a series of CC3 commands saved in a plain ASCII text file). CC3 displays a dialog box listing available script files (those with the type extension .scr). Select a script with the cursor or type a script file name.

Use a script to automate repetitive tasks. Scripts can include ordinary CC3 commands (text equivalents of the ones in the standard menu) or special programming commands.

Type the name of a script file, or select a file with the mouse. CC3 reads and executes the text in the script file just as if you had typed it all at the keyboard. Do not include blank lines in a script file. Type a carriage return at the end of each line in the script file. Unlike CC-DOS, the carriage return that ends each line of a script file is "counted" as a delimiter.

You can use a script file to execute a series of CC3 commands, but not to define macros. Unlike LOADMAC, running a script does not clear existing macros, although it does redefine any macros, variables or labels with the same names.

Select Script File dialog box options

File Name

Select or type the name of the file you want to open. Listed in this box are the files with the extension selected in the List Files of Type box.

List File of Type

Only .scr files in the current directory are listed.

Text equivalent: SCRIPT