Running Scripts

 

Scripts are placed in the code window by typing a new script from scratch or by loading the script with the File | Open command. To run the script in the Scripter code window, select the Script | Run command, press the F5 key, or click the image\scr-run.png button. Scripter examines the script instructions, and, if all the instructions are recognized, it begins to perform each instruction in turn.

 

More often than not, however, a newly typed script does not work correctly the first time it is run. Even simple typographical errors cause scripts to fail. For information on finding and fixing errors in scripts, see the Debugging Scripts.

 

Select the Script | End command or click the image\scr-stop.png button to stop executing a script. This may be necessary when you want to edit a script after a run-time error occurs, or when you accidentally start a script and you want to cancel the execution.

 

 

See Also

Running Scripts from the Command Line

Introducing Scripter

Writing Scripts

Scripter BASIC Language

Object Hierarchy

Object List