Hey there!
Is there a command to stop (or better: KILL) all tasks which are currently running at that moment? I can only define "This task", or another one, but not all running.
Command stop all tasks
Re: Command stop all tasks
This is a very bad idea...or better: KILL...
You can use the small script in VB Script action
Code: Select all
cnt = RoboTaskApp.TaskCount
for i=0 to cnt-1 step 1
nam = RoboTaskApp.TaskInfoExtname(i)
logmessage("Stop task " + nam)
RoboTaskApp.StopTask(nam)
next
Oleg Yershov
Re: Command stop all tasks
It's better to turn automation off too. Because some tasks can be started automatically by its trigger
Oleg Yershov
Re: Command stop all tasks
I know it's dangerous. But in our case, it really saves some trouble! Thanks, it works.
Re: Command stop all tasks
Well, I have simulated the problem when Robotask should kick in and kill all the 3 tasks which are running at that moment. When the problem occured, Robotask killed all the 3 tasks immediately. As it should be. I am satisfied!