On Variable Changed

by Synthiam

This skill will execute a script when a variable has changed.

How to add the On Variable Changed robot skill

  1. Load the most recent release of ARC (Get ARC).
  2. Press the Project tab from the top menu bar in ARC.
  3. Press Add Robot Skill from the button ribbon bar in ARC.
  4. Choose the Scripting category tab.
  5. Press the On Variable Changed icon to add the robot skill to your project.

Don't have a robot yet?

Follow the Getting Started Guide to build a robot and use the On Variable Changed robot skill.

How to use the On Variable Changed robot skill

This skill will execute a script when a variable has changed. Add the variable to watch, and a respective script. When the variable has changed, the script will run.

Main Window

User-inserted image

1. Status Display
Displays variable changes.


User-inserted image

1. Variable Name Field
Enter in a variable name.

2. Script Field
Enter in a script that you would like to execute when the variable changes.

3. Row Manipulation Buttons
Move, Delete, Insert, or Append the rows that you have entered.

How to Use On Variable Changed

1) Add the On Variable Changed Skill (Project -> Add Skill -> Scripting -> On Variable Changed).

2) Configure the skill, add variables and corresponding scripts in the skill's configuration window.

3) Now modify a variable, when it is modified, the respective script will execute.


Upgrade to ARC Pro

Experience early access to the latest features and updates. You'll have everything that is needed to unleash your robot's potential.