The scripting window is the editor to use when writing and compiling your own scripts or modifying one of the included examples. The scripting editor has three separate sections.
1. Toolbar
2. Scripting Editor
3. Script List
3. Filepath
The Toolbar
The toolbar features a variety of buttons with their explanations listed below.
· Change Working Folder…- Changes the folder in which the editor uses for scripts
· Copy – Copies the selected script portion
· Cut – Cuts the selected script portion
· Paste – Pastes the current item from the clipboard
· New Script…- Opens a new window for writing your script
· Save… – Saves the current script
· Save As… - Allows the script to be saved under a different name
· Remove Script… - Deletes the current script
· View log of last process… - Opens the log of the selected script’s last execution.
· Print Current Scriptfile… - Prints the current script
· Help: Command list… - Opens the help file
· Syntax check commands… - Checks the syntax of the selected script for errors
· Tools Menu… - This menu has 2 selectable options, change the working directory and compile script.
· Execute Script… - Executes the selected script.
The Scripting Editor
The scripting editor displays the text of the current script and allows you to edit and make changes as needed. There are three colors of text for this window.
Red – Lines that are not read during execution. Such as notes or explanations. Red lines are always preceded by a semicolon (;)
Blue – Commands in a script are given as blue text when at the beginning of a line
Black – All portions of line after the initial command are given in black
Script List
The script list shows all Perform language scripts (*.ftp) located in the current folder.
Filepath
Gives the filepath to the currently selected script.