Scripts are short programs similar to C that can be used to edit text or binary files (see Introduction to Templates and Scripts). This section lists all available menu options in the Scripts menu:
- New Script - Creates a new script file and opens it for editing in the interface.
- Open Script - Displays a file dialog box for loading an 010 Editor Script file (usually with file extension ".1sc").
- Edit Script - If a script has been associated with the current file, the script is opened in the application for editing. If no script is associated with the current file, the last accessed script will be opened and if no script has been opened you will be asked to create a new script or open an existing script. Scripts can be associated with the current file by using the Run Script or the Run on File section of the File Bar above each editor. See Running Templates and Scripts for more information.
- Run Script - If the currently selected file is not a script, clicking the 'Run Script' menu option will run any script that is associated with the current file. If the current file is a script then clicking this option will execute the script on the selected file. See Running Templates and Scripts for more information. If a script modifies a file, the 'Edit > Undo' menu option will undo any changes.
- (Installed Script List) - Displays a list of installed scripts sorted by category such as 'Randomize', 'IsASCII', 'MultiplePaste', 'SplitFile', and 'JoinFile'. Clicking on an item in this menu usually executes the script but can also be configured to load the script into the interface for editing. See Script Options for more information on adding scripts, changing script options, or using the default custom scripts. Scripts can also be installed using the Repository Dialog.
- View Installed Scripts - Opens the Script Options dialog that can be used to add or customize scripts on the Installed Script List.
- Script Repository - Displays the Repository Dialog which can be used to install Scripts other people have uploaded. Please consider uploading to the Repository any useful scripts you have developed. The Repository can also be accessed online at 'http://www.sweetscape.com/010editor/repository/'.