France
Asked — Edited
Resolved Resolved by rgordon!

Watch If A Script Is Running

Hi,

I wanted to know if there some kind of script command to watch if another script is running. I want to do something like :


...
if ("script B is running")
pause()
...

Thanks.


ARC Pro

Upgrade to ARC Pro

With ARC Pro, your robot is not just a machine; it's your creative partner in the journey of technological exploration.

#2  

You could set a variable at the start of the watching script, and then reset the variable at the end of the dependent script. This would allow you to wait for change of the variable from the watching script and then continue after the variable has changed.

#3  

Thanks @rgordon. I knew there was a post like this hidden somewhere... And thanks also @Cochran. I see that you had the same idea, so it confirms that it is the good way to go.