Check, if task is running
Posted: Thu Feb 12, 2015 4:19 pm
Hello Oleg,
what would be the easiest way to check if a task is running?
Do I have to loop through all tasks like that...
cnt = RoboTaskApp.TaskCount
For i = 0 To cnt - 1
extNam = RoboTaskApp.TaskInfoExtName(i)
Next
...until I find the external task name searching for, get the TaskNum (variable i) and then use TaskInfoState?
Thank you.
what would be the easiest way to check if a task is running?
Do I have to loop through all tasks like that...
cnt = RoboTaskApp.TaskCount
For i = 0 To cnt - 1
extNam = RoboTaskApp.TaskInfoExtName(i)
Next
...until I find the external task name searching for, get the TaskNum (variable i) and then use TaskInfoState?
Thank you.