Jump to content
Macro Express Forums

Detect mouse botton down

Recommended Posts

I don't know any way to do it directly from ME.

However, if you can write the C# or VB code, your macro could call a program to check the mouse. Google "detect mouse button state" and you will find a number of examples of simple C# or VB or Javascript code to check it.


It sounds like a useful command that Insight could "easily" add to ME -- I suggest you ask them to do so. Won't help you right now, but maybe in the future ....

Link to comment
Share on other sites

Maybe you could do it as follows:


1. Start macro X with a left mouse click.

2. In macro X after a 1 second delay open or activate or focus a unique window W and end X.

3. Activate macro Y with the Window Title option. Proceed to do your required operations in macro Y.


Terry, East Grinstead, UK

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