Add a script to a graphic
- Last UpdatedAug 09, 2024
- 1 minute read
You can associate scripts with your graphics. Scripts can add animation to a graphic or its elements that can be executed in runtime.
Caution: If you configure scripts that affect more than element and graphic animation, the script processing may affect performance.
You can:
-
Configure the predefined scripts of a graphic.
-
Add named scripts to a graphic.
-
Edit existing named or predefined scripts in a graphic.
-
Rename named scripts in a graphic.
-
Remove named scripts from a graphic.
-
Substitute references in named or predefined scripts.
-
Use element methods in named or predefined scripts.
The autocomplete features available in the Application Server QuickScript editor are also available in the Industrial Graphic Editor script editor. For more information about Application Server scripting, see the Application Server Scripting Guide.
The topics in this section describe using the SignedWrite() function for secured and verified writes. For information about all other aspects of associating scripts with graphics, see Scripting Reference.