Jump to content
Macro Express Forums

Continously Scan For A Spesific Color On A Spesifi


Rizzla

Recommended Posts

I want to continously scan for a spesific color on a spesific coordinate, then when it appears, i want to pause another running macro, then goto a spesific coordinate right click, and then resume the macro that was paused.

oh and it should still scan for the spesific color.

 

Im pretty a noob with macros, and i just dont know how to do this... Anyone who got time to help me out?

Link to comment
Share on other sites

You can't run two macros at once, in case that is what you're trying to do.

 

But you can easily add code to an existing macro at various points to check for the pixel color. If found, you can call another macro to run the appropriate action. Calling another macro would have the effect of pausing your first macro.

 

Note that Macex runs pretty fast, so you may need delays to prevent it from checking the pixel too many times a second.

 

The relevant commands are:

 

Get Pixel Color

Macro Run

Macro Return

Delay

 

The Macex Help file has very good documentation and example code for these commands.

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