However, this application is causing some problems for Macro Scheduler. I can navigate menus and press most buttons fine, until the application launches an APL workspace window to process some APL code (APL is an interpretive programming language).
At a certain point during the APL code I need Macroscheduler to press enter 6 times. My script successfully waits for the right moment then I use SetFocus to switch to the APL window. Unfortunately as soon as the focus switches to the APL window nothing happens. It is as if Macro Scheduler is no longer processing.
I am pretty sure that this APL window is hogging the processor or something, such that Macro Scheduler is not able to continue with the next command (If I press the enter keys manually and let APL finish, then right at the end MS finally does the required key presses, as if it had been temporarily suspended).
Anyone have any ideas?
I got around this problem earlier when I was using Visual Basic by using the application.ontime method to schedule an operation ahead of time. The scheduled event executes no problem and does the key presses in the APL window. Is there any way to schedule a task with the operating system in Macro Scheduler?
Bill.
