Access Robotask variables from a script
Access Robotask variables from a script
Is it possible to access a Robotask Variable from a Basic script? I only find the option to set or add Robotask variables.
Access Robotask variables from a script
You may use "ExpandText" method.
For example:
MsgBox RoboTaskApp.ExpandText("Today {datetime}")
MsgBox RoboTaskApp.ExpandText("{year}-{monthno}-{day}")
MsgBox RoboTaskApp.ExpandText("{MyUserVariable}")
For example:
MsgBox RoboTaskApp.ExpandText("Today {datetime}")
MsgBox RoboTaskApp.ExpandText("{year}-{monthno}-{day}")
MsgBox RoboTaskApp.ExpandText("{MyUserVariable}")