Associate scripts with Industrial Graphics
- Last UpdatedMar 18, 2025
- 1 minute read
You can associate scripts with the Industrial Graphics placed in your InTouch applications. Scripts will animate your graphics or modify their elements while an InTouch application is running.
After selecting an industrial graphic embedded in an InTouch window, you select the expression or reference whose value triggers the script to run. You use the Industrial Graphic Editor to select the trigger that runs the script.

-
A graphic script can be either predefined or named. A predefined script runs based on the status of the graphic in the running application. A named script runs when an expression or references associated with the script changes state.
-
Predefined scripts are similar to InTouch HMI window scripts. Based upon how you configure the script trigger, a predefined symbol script can run:
-
Once after the graphic opens or is shown.
-
Periodically while the graphic appears in the running application.
-
Once after the graphic closes or is hidden.
-
-
Based upon how you configured the script, a named graphic script can run when the trigger values or expressions are true, false, or transitioning between true and false states. Also, a named graphic script can run when data associated with the trigger expression changes value or its quality state changes value.