Rizzla Posted February 12, 2006 Report Share Posted February 12, 2006 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? Quote Link to comment Share on other sites More sharing options...
lemming Posted February 13, 2006 Report Share Posted February 13, 2006 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. Quote Link to comment Share on other sites More sharing options...
Rizzla Posted February 14, 2006 Author Report Share Posted February 14, 2006 Thanx, i think this just might work, i will get into it right away Quote Link to comment Share on other sites More sharing options...
Rizzla Posted February 20, 2006 Author Report Share Posted February 20, 2006 This worked very good! Thanx man had to use the If Variable and End If too, but i figured that out.. Thanx alot! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.