Script editor - toolbar

The toolbar in the script editor contains the following buttons:




The button opens the following popup allowing to jump to the given line in the script.

Checks the syntax of actions defined in the script (the existence of objects is not checked).

Checks the syntax of actions and the existence of objects - semantic check.

Undo last change in script

Redo last reverted change in script

The cursor moves back to the previous cursor position

The cursor moves to the position it was in before the "Cursor back" call.

Shows/hides the line numbers.

Replaces current text of the script with a text from the file created by the Save to File option (without any warning !!!).

Saves the script to a file. The filename cannot be changed and it is the same as the script name (the event name for objects of Event type, the picture name for active pictures) and is extended with the suffix .esl. The file is saved into the subdirectory ESL_Save in the application directory.

Note: In case of unexpected termination of process D2000 CNF the script is to be automatically saved as the MenoSkriptu.esl.crash file in the ESL_SAVE directory.

Opens the list of objects of the D2000 system (object names) to be inserted as the reference into the script text - on the current cursor position.
You can also use the keyboard shortcut CTRL+1.

Opens the List of the predefined constants dialog box to insert a predefined constant into the script text - on the current cursor position.
You can also use the keyboard shortcut CTRL+2.

Opens the List of the functions dialog box that allows inserting a function into the script text - on the current cursor position.
You can also use the keyboard shortcut CTRL+3.

Note: The list does not contain objects of the External function type.

Opens the List of the actions dialog box which allows inserting the actions - on the current cursor position. You can also use the keyboard shortcut CTRL+4.

Opens the List of local variables dialog box that allows inserting a predefined local variable into the script text - on the current cursor position.
You can also use the keyboard shortcut CTRL+5.

Opens the List of attributes to insert a predefined attribute of object value or local variable into the script text - on the current cursor position.
You can also use the keyboard shortcut CTRL+6.

The button is active only for the picture script. It inserts the local variable of a picture from the list of picture local variables.

The buttons are used to debug the script - they allow the user to trace the execution of script actions.

In dependence on the use of the script (object of Event type or active picture) some of the buttons are disabled and their meaning is described in the chapter Script debugging.

Opens the configuration dialog box of the object of the Event type. In the case of the active picture script, the button opens the Picture settings dialog window.

Checks the validity (compiles) of the script, saves and closes it.

Closes the script editor.

Opens a list of procedures (including their parameters) including remote procedures calls, active picture events, and beginning of a script initialization part (BEGIN). Clicking an item in the list causes a jump to a particular position in the script.

Related pages:

Napíšte komentár