My issue is that I am running a Macro Scheduler script which opens another windows based application. While controlling the application from Macro Scheduler, during a particular step it opens a modal form, and hands over control to the form so I cannot continue. I need to input some values in the modal form and click continue, but am unable as the control has shifted to the modal form.
Can anyone suggest a solution, or point me to the duiscussion forum/or in the right direction where I can find a solution ie, continue using Macro Scheduler to control input into the form and press continue so that the process can continue
Input into modal form
Moderators: JRL, Dorian (MJT support)
SetFocus
Hi ddcruz,
You need to set focus on the new form so Macro Scheduler directs your keystrokes and such to it.
At the point where you expect the new form to display:
If you have problems read up on the options and system variables used with these commands.
Hope this helps,
Gale
You need to set focus on the new form so Macro Scheduler directs your keystrokes and such to it.
At the point where you expect the new form to display:
Code: Select all
//Assume New form has a unique title.
Let>NewFormTitle=<whatever>
WaitWindowOpen>NewFormTitle
SetFocus>NewFormTitle
//put code here to manipulate the new form
//When done put focus back on original form
Hope this helps,
Gale