See also the Run command in the [Settings] section, Xelagot action script: Introduction.
If you are not familiar with the term USBD, or with security restrictions applied by xelagots 3.607 or higher, please read User and Script Base Directory (USBD).
From within any part of an action script, you may load and execute another script. The old script will then stop running and the new script will take over completely. The syntax for this is:
Run filename Run $f Run |
where $f contains the filename of the script. Do not
confuse this statement with the one in the [Settings] section. xelagot 3.607 or newer The filename convention is explained in the section Filenames. Additionally, if the file is not found, the script will search in the USBD folder. If you do not specify a filename, the current script will be reloaded and run. xelagot 3.606 or older The file will be expected to be in the same directory as the calling script, or in the Script directory. You may also specify a full path and filename. If you do not specify a filename, the current script will be reloaded and run. |