Coordinates relative to an inactive window
So what I need is to be able to do a PixelSearch on an inactive window (I check with a loop every few seconds if one specific item has disappeared from my inventory (for a game)) but I can't figure out how I could get the coordinates to be relative to an inactive window.
So when I use
Code: Select all
PixelSearch, , , X1, Y1, X2, Y2,...
I looked at CoordMode, but it won't do it (unless I misunderstood the way that command functions).