next up previous contents index
Next: The !rehash Command: Rebuild Up: Scripts Previous: Scripts   Contents   Index


The !script Command: Add Script

Syntax: !script name [path]
This command will add name to the list of user-defined function buttons in the User Menu. When the button is pressed, the file indicated by path will be executed as script text. The name variable should be the actual name to appear in the menu. The path should be a full path to a file, which can be any file name as long as it contains a script, i.e., the .scr extension is optional. A script added that has the same name as a script in the technology file or the script path will supersede the previous script definition.

If no path is given, any command previously added with the !script command with the same name is deleted from the User Menu. This does not affect scripts defined in the technology file or in the script path, except that these are reverted to if their names matched an input to the !script command.


next up previous contents index
Next: The !rehash Command: Rebuild Up: Scripts Previous: Scripts   Contents   Index
Stephen R. Whiteley 2017-03-22