How to Use Script Editor

 

When the script editor runs, a dialog box as shown in <Figure 1> appears.

 

<Figure 1> Example of script editor

 

The script editor consists of a menu, a description, script editor, variable, button and etc.

First, the menu consists of the following.

             Config : A menu that sets the font to be used in the script editor.

             Edit      : Script is copied or pasted.

             Help     : Show help.

 

The description on the upper editor of <Figure 1> is entered in English, Korean and numbers.

The script editor is the upper editor part of <Figure 1> and is an area where scripts in the C language format are edited in the following way.

A sentence is entered in one line.

            The end of each sentence is ;(semi-colon) entered.

Use the operator used in language C.

            Use sentences from scripts such as if, elseif, for and return.

It provides several kinds of script functions

 

Variable consists of the lower list of script editor and , , buttons, and it is edited as follows.

             Add Variable      : Press the button to add new variable.

             Delete Variable : Press the button to delete the selected variable from the list.

             Modify Variable  : Press the button to modify the selected variable from the list.

 

There are the following types of buttons in the script editor.

             OK            : Press the button to exit the editor with saving the written script.

             Cancel     : Press the button to exit the editor without saving the written script

             Compile  : Press the button to check the error of the written script.

             Tag           : Press the button to insert the tag into editor.

             Scantime : Configure the cycle of scan (per seconds) in

                                  It can only be set in "Script at program running"

 

Caution) If There are many "script at program running" while running localmain program with the Scantime is 0 seconds, the system may slow down, so it is recommended to set the Scantime to 5 seconds or more unless necessary.

 

Right-click in the script editor window to display a shortcut as shown in <Figure 2>.

 

<Figure 2> Shortcut of script editor

 

The shortcut of script editor includes the following menus.

             Undo (Ctrl+Z) :           Cancel(undo) previous work.

             Redo (Ctrl+Shift+Z) : Revert the work canceld.

             Copy (Ctrl+C) :           Copy the selected contents.

             Paste (Ctrl+V) :           Paste the copied contents.

             Delete :                        Delete the selected contents.

             Select All (Ctrl+A) :     Select all contents in editor.

 

 

 

 

Related Helps)

Config menu (font)

Edit menu

Script Operator

Script statement

Script Function

Variable add

Variable modify

Compile

Tag insert in script

Script help