Share on other sites

SmOke_N 199

SmOke_N 199

The "2" is not a "pixel" to search for, it's how many pixels to skip while searching. You can make that any integer higher than 1, but will skip that many pixels.

As per my post, and the help file: You can do "Shade" vaiations where the "0" is, if the colors are close, and they don't have to be specific. If the colors have to be specific, then you must use "2" different pixelsearch() functions as my example gave you.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.