Jump to content
Macro Express Forums

Wait for Window to exist (but not in foreground)


benz110
 Share

Recommended Posts

Hello,

I've used Macro Express for a few years now, and am looking for way to detect whether a window has appeared but not as an active window. For example, the macro opens a program, an update pop-up comes up (from some random program) and takes the foreground so the window title for the program appears in the background. The wait for window command will continue to wait endlessly; is there an option to wait for the title to appear in the list of windows running?

Maybe my mind skipped over the obvious but I couldn't find one after going through the help files several times.

Link to comment
Share on other sites

No one has some experience with this issue? I ran a search on this forum and google and there aren't other posts addressing it.

I've found a workaround solution - to loop until "Is Window Running?" returns true. Not very elegant though. If anyone knows a simpler way, I would be interested to know.

Link to comment
Share on other sites

  • 2 weeks later...

Congratulations on finding a workaround. Your solution is about as elegant as you are likely to get using Macro Express.

 

Every scripting language has strengths and limitations. Exploiting the strengths and working within the limitations takes skill, which only comes with time and practice.

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

×
×
  • Create New...