Using Active Window

Discuss RoboTask here
Post Reply
dondada
Posts: 22
Joined: Fri May 20, 2005 11:30 am

Using Active Window

Post by dondada »

Is there a way to have Robotask recoginize that a program is already running and then pass command line parameters/commands to it. I don't want it to open a new occurance of an already running program? I tried the window commands but they weren't working. I'm really trying to run a batch program utilizing an already open instance of a program. Can Robotask do this?
Oleg
Site Admin
Posts: 3014
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Using Active Window

Post by Oleg »

Check the existence of process via system variable {IsProcessExists()}.
Also you can use "Wait for process" action. The action pauses the task and waits until the selected process (processes) is finished. After the monitored process is finished, the task is resumed. If the specified process is not in the memory at the moment when the action is due, the task is not paused.
Last edited by Oleg on Tue Feb 21, 2006 12:48 pm, edited 1 time in total.
Post Reply