|
12/18/2007 5:04:03 PM
|
smbender Posts 2
|
Good afternoon:
I'm looking for a way to execute a macro only when a particular window is the active window. When any other window is active, the macro is essentially in a wait loop, checking every 30 seconds for the active window, then executing when the right one becomes active. This macro will then loop every 2 or 3 minutes for as long as the window is active, then go back to waiting when it is not active.
Does Macro Recorder have this kind of capability? The built-in IF "Window Exists" and WAIT FOR WINDOW statements don't seem to be quite discriminating enough.
Thank you in advance for any assistance you can provide.
|
|
12/20/2007 11:58:36 AM
|
 jitbit Posts 712
|
Yes, that's possible, check this out (we have answered on our blog): http://blog.jitbit.com/2007/12/macro-recorder-another-trigger-example.html edited by jitbit on 12/20/2007
|
|
12/20/2007 12:10:50 PM
|
smbender Posts 2
|
jitbit wrote:
Thank you for the reply, but this macro does not work exactly how I was hoping. I want the macro to execute ONLY IF a window I select is the active window, not just if it exists. I'm trying to force a screen refresh command in a particular application, say every few minutes, but I only want that command sent when that application is active. Having an F5 refresh command sent every few seconds or few minutes can be very annoying if it happens when the wrong window has focus.
|
|
1/17/2008 2:28:38 PM
|
 jitbit Posts 712
|
I am sorry for the delay in responding. We will add a "if window in focus" command to our next version, thanks
|
|
pages:
1 |