Feature Description
Info |
---|
Canvas Script Editor uses JavaScript ES5. Only Features from ES5 or before are available to be used. Please refer to ECMAScript Documentation for complete specifications on the language. Features related to Document Object Model (DOM) are not supported in Canvas Script Editor. |
Info |
---|
Canvas can only run 100 scripts concurrently. If any more scripts attempt execution while 100 scripts are running, the script will not execute, and a warning notification will be shown during runtime. |
Designer Functionalities
Script Editor
Creating a Script / Command
Back to Top of Scripts
Editing a Script
Back to Top of Scripts
Find and Replace
Script Usage
Scripts can be called upon in a few different ways. The first way that they can be called on is by Startup. If the script is set to be a Startup script, it will execute when the program runtime begins. Periodic is another way to call a script. Periodic will call the script at a set interval of time that is user-defined within the Script Properties; the range for this interval time is 0 - 2147483647 ms. The final way to call a script is through Manual calls. These can be done where an object can have an action and call the script or command to call this script. An example would be a momentary button; this object has an Action tab, and the script can be called in any specified cause of Press, Double Click, or Release.