Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

InTouch HMI

Configuring Application Scripts

  • Last UpdatedMar 18, 2022
  • 2 minute read

Application scripts are linked to the entire InTouch HMI application. You can use application scripts to:

  • Execute a script one time when WindowViewer is started.

  • Execute a script periodically while WindowViewer is running.

  • Execute a script one time when WindowViewer is shut down.

To configure an application script

  1. In the Scripts pane, right-click on Application and then click Open.

    The Application Script dialog box appears.

    Application Script dialog

  2. In the Condition Type list, click the condition for the script execution:

    • Click On Startup to configure a script to execute one time when WindowViewer is started.

    • Click While Running to configure a script to execute periodically while WindowViewer is running.

    • Click On Shutdown to configure a script to execute one time when WindowViewer is shut down.

  3. If you selected While Running in the previous step, type a time interval between 1 and 360000 milliseconds in the Every box. The time interval specifies how often the script is executed.

  4. Type your script in the window.

  5. Click OK.

To delete an application script

  1. In the Scripts pane, right-click on Application and then click Open.

    The Application Script dialog box appears.

  2. In the Condition Type list, click the condition for the script to delete.

    The script appears in the main section of the Application Script dialog box.

  3. On the Edit menu, click Clear.

    The script from the main section clears and the associated script is deleted.

    TitleResults for “How to create a CRG?”Also Available in