|
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 Select Script drop-down list in the Tool Bar. 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, this menu option will display 'Run Script on File' and clicking the 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.
- (Custom Script List) - Displays a list of custom scripts such as 'Randomize', 'IsASCII', 'Multiple Paste', 'Split File', and 'Join File'. 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.
- Edit Script List - Opens the Script Options dialog that can be used to add or customize scripts on the Custom Script List.
- Online Script Repository - Visits the online script archive at 'http://www.sweetscape.com/010editor/scripts/'. This archive holds scripts that other people have submitted to the archive and are available for download. Please feel free to submit any script you have written that other people may find useful.
 |
|