Asked — Edited
Resolved Resolved by Wolfie!

Looking For The Code To Stop All The Scripts Running In A Scriptmanger Window

Hi,

When I am using and EZ-Script Manager (an amazing feature), I have scripts that are running on a loop. I would like to (need to) be able to have another script that kills (stops) all the running scripts in that EZ-Script Manager windows or at least the ones I tell the code to stop.

Thanks

ZIonPhil


ARC Pro

Upgrade to ARC Pro

Elevate your robot's capabilities to the next level with Synthiam ARC Pro, unlocking a world of possibilities in robot programming.

Canada
#1  

This should do what you need

Quote:

ControlCommand("script manager", ScriptStopAll)

I just tried it on mine and it works great

#2  

Beautiful, thanks Wolfie. I just wasn't sure on the syntax of how to use the SciptStopAll. Very appreciated!

Canada
#3  

Your Welcome @ZionPhil I remembered seeing a post about it some time ago so I went looking for it for you:) Glad I could help:)

PRO
Synthiam
#4  

The third tab of the editor dialog is the Cheat Sheet. This is a very powerful tab, as it automatically generates code for you based on the project configuration. This tab analyzes the project and determines what functions are available from each control. The ControlCommand() EZ-Script function is how you programmatically set parameters between ARC Controls. The Cheat Sheet tab will display all available ControlCommand() parameters for all controls in your project. Clicking on a ControlCommand() in the list will be added to your script editor.

User-inserted image

For more information on editing scripts, visit this link: https://synthiam.com/Tutorials/Help.aspx?id=1003

#5  

Wow DJ Sures ! That is extremely helpful. All makes sense to me now. Thank you very much.

Canada
#6  

Cool I did not know that:D Thanks @DJ Sures