Jump to content
Macro Express Forums

If Pixel = Certain Colour End This Macro


Macronovice
 Share

Recommended Posts

Use the 'Get Pixel' and 'Macro Stop' or 'Macro Return' macro commands.

Get Pixel: Screen Coords: 123,456 into %N1%
If Variable %N1% = 000000
 Macro Stop
End If

You will need to adjust the screen coordinates in the 'Get Pixel' command and the color value in the 'If Variable' command to suit your specific needs.

 

Here are some other discussions about using the Get Pixel command:

http://pgmacros.com/community/index.php?showtopic=337
http://pgmacros.com/community/index.php?showtopic=326
http://pgmacros.com/community/index.php?showtopic=233
http://pgmacros.com/community/index.php?showtopic=220

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