Instead of capturing the entire screen, capture only the window, or a portion of it. Making the haystack smaller will speed up the search. Just don't forget your mouse positions will need an offset - work out the window position as an offset from 0,0. Ok, thanks.. But how do I capture only the wind...