RunCurrentScript

Runs the script currently open in the text editor. The script must have been opened using the OpenScript command, created with the NewScript command or recovered from a restore session operation. The script will be run as it is displayed in the editor including any unsaved edits.

Notes

ScriptName function.