Script Execute

 

Scripts that can be written in the studio can be largely classified into scripts related to the entire localmain program, scripts related to graphics modules, and scripts for each graphic element, but each type of editor is slightly differnt.

 

Scripts related to the entire localmain program

If 'File|Script' from the main menu, module editor or reporter editor is selected, a sub-menu as shown in <Figure 1> appears.

 

<Figure 1> A submenu of the script of the file menu

 

The editor execution of the script related to the entire localmain program is executed by selecting the menu in <Figure 1>.

             At Program Start... : The script that runs once the localmain program starts.

             At Program Running... : The script that runs every scantime

             At Program End... : The script that runs once the localmain program ends.

             Key Script... : The script that runs when a user presses a particular key.

             Menu Script... : The script for using the user menu MENU_SCRIPT_000 to MENU_SCRIPT_999.

             Log In Script... : The script that runs once user login.

             Before Log Out Script... : The script that runs once before user logout.

             After Log Out Script... : The script that runs once after user logout.

 

Script related to graphics modules

If ¡®Etc¡¯ is selected when the studio is in the module editor, a menu as shown in <Figure 2> appears.

'Script on Module Opened/Closed' in <Figure 2> is a script executed (once) when the current graphic module is opened or closed, and 'Script on Module Running' is a script executed while monitoring the graphic module.

In addition, 'Script on Module Activated/Deactivated' is a script executed when the module is activated/deactivated.

Here, activation is when there is a focus (mouse selection state) of the window, and when there is no focus, it is in an deactivate state.

 

1

<Figure 2> Script related to graphics modules

 

Script Button

Write an external file or built-in script in the 'Object|Button|Script Button' dialog box in the module editor.

 

Scripts for each graphic element

Most graphic element settings dialogs have extensions tabs, which allow you to create scripts.

Script is also available on the MouseResponse tab of analog/digital related graphic elements.

 

Related Helps)

Script at program start...

Script at program running...

Script at program end...

Key script...

Menu script...

Log in script...

Before log out script...

After log out script...

Script related to graphics modules

Script Button

Scripts for each graphic element

¸¶¿ì½º ÀÀ´ä

½ºÆ©µð¿ÀÀÇ ÆÄÀÏ ±ÛÀÚ¸Þ´º

¸ðµâÆíÁý±âÀÇ ±âŸ ±ÛÀÚ¸Þ´º

Script help