Jump to content
Macro Express Forums

Make Macro Continue If Window Doesn't Appear


nevada

Recommended Posts

In response to a command, a Windows window may or may not appear, such asking whether or not I want to replace a file.

 

If the Window doesn't appear, within say 10 seconds, I would like the macro to continue.

 

However, if you put in a time delay in the wait for window command, the macro aborts. I can't find a way to tell ME that I want to continue the macro, not abort, if the time elapses.

 

I tried putting in a wait for window ORed with a wait for time. That didn't work.

 

My intuition tells me that this problem must have arisen and got solved in ME version 1, beta. But how?

Link to comment
Share on other sites

Hello Nevada!

 

Repeat Start (Repeat 10 times)
 If Window Title "Calculator" is running
   Repeat Exit
 End If
 Delay 1 Seconds
Repeat End


<REP3:01:000001:000001:00010:0:01:><IFOTH:04:1:Calculator><EXITREP><ENDIF><DELAY:1><ENDREP>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...