Toolbar:

Use the drop-down menu in the toolbar for selecting the programming Language, in which you are going to write your script. Your options are Pascal, C++, Basic, and Java.

Several buttons and check-boxes are situated after the drop-down menu. Their functions are as follows:

 - This is the Insert button. It is used for inserting Modules, Objects, Slides, Tasks, and Data Providers. When you press the black arrow next to it, a context menu will appear:

Here you can select the type of the item you would like to insert in your script.

Notice that there is a combination of keys written next to each item. Thus, instead of clicking on the respective item from the Insert drop-down menu, you can simply enter the corresponding key combination. Furthermore, note that in the screenshot above the second line [Object] is marked with a bold font. This means that when you press only the Insert  button instead of the arrow next to it, an Object will be added to the script. If, next time you insert an item you select [Slide] from the context menu, its line will be bolded and a Slide will be added after clicking only the button instead of the arrow.

If you select the Use module option from the context menu above, you can insert any script, situated in X-Pert Graphics’s Library, regardless of the language, in which it is written. This option is very useful if you need to use the same function in different scripts. Please, check Example 15 in Appendix 7 below to see how modules are inserted in different script syntaxes.

 – Use the New button to clear the Program View and start working on a new script.

 – Use the Open Script in editor button to load an already saved script.

 – Use the Save Script to file button to save your script.

 – Use the Undo changes button to undo your latest changes. You can also press the <Ctrl>+<Z> keys instead of this button. Up to 60 steps can be reversed.

 – Use the Run Script button to debug your entire script. You can also press the <F9> key instead of this button.

 – Use the Execute next step button to only execute the line after the one, where the cursor is situated. You can also press the <F8> key instead of this button.

In the example above, please notice the light-blue line with a green arrow in the beginning. After a step is executed via the button, described above, this step is marked like that.

 – Use the Stop execution button to stop debugging your script. You can also press the <Ctrl>+<F2> keys instead of this button.

 – Use the Toggle breakpoint button to insert a breakpoint in the script. You can also press the <F5> key instead of this button. When a breakpoint is added, the next time you start executing your script, it will pause executing at that breakpoint.

In the example above, please notice the red lines with a red circle in the beginning. After a breakpoint is included, the line that corresponds to the breakpoint will be marked like that.

Also, be aware that you can add a breakpoint also by clicking in the grey area to the left of the script view. If you want to remove that breakpoint, simply click on it again.

 Debug – If checked, the script will be debugged when executed. Otherwise, only the final result will be shown and no messages will appear in the Debug area at the bottom.

 Watch – If checked, the Watch area will be visible.

 Browser – If checked, the Browser area will be visible.

 - The Evaluate expression button invokes the dialog, shown below. In the Expression field you can enter different mathematical expressions, in which you can include variables from your script. After pressing <Enter>, the program will show you the result of the expression in the Result field. If you have entered a variable and/or other symbol that cannot be recognized by the script engine, it will return an error message in the latter field.