I've got a newbie issue, which I haven't found the answer for in the forums.
When debugging, how do you get the FindImagePos command to view the webpage (which is what my script is trying to do) and capture that, rather than the debugging window?
This is the portion of the script I'm having problems with - it removes the temporary screen scrape (tescolink.bmp) and then screen captures into a new copy of this file, and finally compares it to a small portion of the screeen which I know represents that it's moved on properly.
When debuging, I cannot get MS to point to the webpage, and I just end up with the ScreenCapture taking a nice snapshot of my script!
How do I prevent this?

Label>looparound2
Let>Delay=2
Let>NumFound=0
Wait>Delay
IfFileExists>c:\REX_Files\tescolink.bmp
DeleteFile>c:\REX_Files\tescolink.bmp
Endif
GetScreenRes>X,Y
ScreenCapture>0,0,X,Y,c:\REX_Files\tescolink.bmp
Wait>Delay
FindImagePos>c:\REX_Files\Tesco_Data_Downloads.bmp,c:\REX_Files\tescolink.bmp,0,1,X,Y,NumFound
MessageModal>%NumFound%
If>NumFound>0
goto>exitloop2
ELSE
goto>looparound2
Endif
Label>exitloop2