Jump to content
Macro Express Forums

Recommended Posts

Posted

You can activate a macro by a mouse click and then use the Delay command to wait one second. But I do not think you can check to see if the mouse button is still pressed.

Posted

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

Posted

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

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