Jump to content
Macro Express Forums

Mouse Movement


Recommended Posts

I need a code to mouse move some where

then mouse move again,click until pixel changes,or pixel color shows up.

then mouse move back to the original spot the macro started

and can some one please tell me how to ignore all mouse movements during a macro?

 

your help is greatly appreciated I have the variable part but if you want to help me include it in your help please

 

 

<IVAR2:01:03:><IVAR2:02:04:><MMS2:701,299><LCLK><MMS2:1N,2N>

Link to comment
Share on other sites

To save the mouse position:

Variable Set Integer %X%: Set to the Mouse X Coordinate
Variable Set Integer %Y%: Set to the Mouse Y Coordinate

To get the color of the pixel under the mouse use:

Get Pixel Color from Beneath the Mouse into Color

You can also get the color of a pixel without moving the mouse:

Get Pixel Color at (125, 257) Relative to Current Window into Color

To move the mouse back to the original location use:

Mouse Move: %X%, %Y% Relative to Screen

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