Jump to content
Macro Express Forums

Wait for a specific right click menu to disappear/close?

Recommended Posts

I can't think of a simple, straightforward, or programmatic way to do this reliably. You might have to settle for a fixed time delay.


There may be complex, convoluted, and non-programmatic ways to detect when a menu disappears. But there may be a point of diminishing returns. Is it worthwhile to spend, say, 10 hours, to develop a workaround? (The answer may be "yes" if doing so improves your comfort and deepens your understanding of macro scripting.)


Time delays are not pretty, but get the job done.

Link to comment
Share on other sites

I am not able to replicate the problem. This MEP script waits for to a left click, and signals when it has happened. Then it does the same thing for a right click.


Wait for Left Mouse Click
Text Box Display: Left Mouse Click detected
Wait for Right Mouse Click
Text Box Display: Right Mouse Click detected
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.

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.

  • Create New...