Is there any chance to wait until a running task has no CPU activity anymore?
I have an Excel API. Robotask opens an Excel file and then has to wait until cells get filled with data from the API. I can have Robotask wait for a certain period of time but that is more time consuming than checking the activity of a specific task.
Is this possible? Maybe in Basic Script?
Thanks in advance
Wait for task activity
Re: Wait for task activity
See Wait for Task action. This actions stops the current task and waits until the specified task will be finished.
If the task is already stopped the action doesn't wait.
If the task is already stopped the action doesn't wait.
Oleg Yershov
Re: Wait for task activity
Sorry, I didn't describe correctly.
I want to wait for a task becoming idle which is not an Robotask but a Windows task.
I want to wait for a task becoming idle which is not an Robotask but a Windows task.
Re: Wait for task activity
Unfortunately RoboTask can't check the activity of Windows tasks.
But you can check the certain application (EXE module) in memory.
Look at Wait for Process Finish and Wait for Process Start actions.
Also see {IsProcessExists()} system variable.
But you can check the certain application (EXE module) in memory.
Look at Wait for Process Finish and Wait for Process Start actions.
Also see {IsProcessExists()} system variable.
Oleg Yershov