The script manager window, shown below, allows the user to load, edit and remove scripts from the scripts menu. It is opened via the 'Scripts→Script manager' menu item.
To create a script, click on the '« new script »' option at the top of the script list, and press the 'Create' button. This will create a new script and open the script editor window.
To load a script file from disk, select the 'Load' button. This will open a file dialog in which you may select the file to load. At the time of writing, L3DT supports the following script file types:
More script languages may be added as new script plugins are developed.
You can store scripts in any directory on disk that you like. However, the default directory used by L3DT is:
Win 7 / Vista | C:\User\[user name]\L3DT\Resources\[version]\Scripts\ |
---|---|
Win XP / 2000 | C:\Documents and Settings\[user name]\L3DT\Resources\[version]\Scripts\ |
On start-up, L3DT will automatically load any script files contained within the script resources directory given above.
To edit a script, select it from the list and press the 'Edit' button. If you have set a preferred script editor using the 'Scripts→Set preferred editor' menu option, then L3DT will open the selected script in your preferred editor. If you have not set a preferred editor, L3DT will open the script in the default script editor window.
The 'remove' button removes the script from the list, and deletes it from disk. This operation cannot be undone.
The 'Up' and 'Dn' (down) buttons allow you to sort the order of the scripts. To move a script up the list, select it using a left click, then press the 'Up' button (similarly, press 'Dn' to move the script down). The first ten scripts in the list will be displayed in the scripts menu for quick execution. Hence, it is recommended that you sort your most commonly-used scripts to be at the top of the list in the manager.