
WayneA.
USA
Asked
— Edited
I have looked thru the scripting manual and the Learn Section. I cannot find any clarification or syntax on this command. I would love to use it.
Thanks
Wayne
Typical syntax is:
Code:
The best way to determine the valid values is to use the Cheat Sheet in the script window. Just right click in the window, and there will be a list of all controls. If the control can be commanded, there will be an arrow to click and then a list of all valid ControlCommand statements.
Alan
What I meant by "zero or more values" is that some commands have additional values, but not all do, so it may end with the command, or you may need to add one or more comma separated values after the command.
For instance, here are two camera commands:
Code:
will tell the camera to look for red objects (I might be missing or have extra quotes here. I am not connected to an EZ-B right now).
Camera is the object
CameraColorTrackingEnable is the command
Red is the value
Code:
will tell the camera to start face tracking.
Camera is the object
CameraFaceTrackingEnable is the command
There are no values.
Alan
Do you know if it is possible to get a running or non running command if a particular script is running?
Awesome to see so many ppl help in this thread
If the answer to my question is listed then I do not see it.
Thanks.
Here is the doc excerpt:
DJ, are there supposed to be more possible values here?
In the mean time, here is a solution that will work as long as the script has not terminated unexpectedly.
At the beginning of your script, set a variable that it is running. At the end of your script, set the variable to not running. Then in the other script where you want to see if it is running, just check the variable (variables are global). Be sure to initialize the script as not running in your init script or the one that reads the value will fail if the one you are reading has not yet run.
example:
script you are checking
Code:
Script you are checking from:
Code:
Alan