Jump to content
Macro Express Forums

If Window Error Runs, Then Ok


koden

Recommended Posts

My macro sometimes stops because of a error window.

This error window appears diff. places in my program.

When I click ok to the window the macro goes on.

 

Is it possible to make a IF like this in start of macro?

 

IF any error window appears while macro runs, then text type ok ?

Link to comment
Share on other sites

Hi Koden

Try this

 

//Hit Enter when error window occurs

If Window Title "" is running

Text Type: <ENTER>

End If

 

If you don't know the exact name for the error window, wait for it to occur then open the macro and use select for the right window title.

This offcourse just works if the ok button is "highlighted" if it's not perhaps you just can add up Text Type: <ARROW LEFT> before the Text Type: <ENTER>

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...