Help - Search - Members - Calendar
Full Version: Is it possible to make the macro stop if there is black pixels at a sp
AC Tools Everything Macro > AC Tool Macros > Other Macros
troymckin
I have a macro that goes through pages and was hoping someone could help me. When the macro comes across black text on a certain spot on the screen I would like for it to stop the macro. I was wondering if anyone knew how to detect the black text, and stop the macro if the black text is there.
pastuh
IsBlack 300, 150 // Place where is black.
Stop // Do these commands if true
Else
// Do these commands if false
End


Or use: ObjectMapper
troymckin
QUOTE(pastuh @ Dec 23 2008, 12:19 PM) *
IsBlack 300, 150 // Place where is black.
Stop // Do these commands if true
Else
// Do these commands if false
End


Or use: ObjectMapper


i dont completely get it but what you have told me is very helpful.
actooldude
In explaination .....

"IsBlack" is basically a question regarding the position 300,150 (the coordinate which you want to test to see if it is black or not).
If it is Black, then actool will process the lines between "IsBlack" and "Else". In this program, the operation will be stopped because of the word "Stop".
If it not black, then actool will process the lines between "Else" and "End".

Hope the explaination helps.
troymckin
QUOTE(actooldude @ Jan 5 2009, 08:34 AM) *
In explaination .....

"IsBlack" is basically a question regarding the position 300,150 (the coordinate which you want to test to see if it is black or not).
If it is Black, then actool will process the lines between "IsBlack" and "Else". In this program, the operation will be stopped because of the word "Stop".
If it not black, then actool will process the lines between "Else" and "End".

Hope the explaination helps.


Yeah! That helped so much! Thank you!

Would you know an easy way to figure out the colors?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.