04-18-2009, 10:04 PM
Ok i get my scan to work like this and it finds the image that I have created and it outputs everything like it says it should do.
Macro
Trigger !cv"Quick Macros Forum • Post a reply - Mozilla Firefox" "MozillaUIWindowClass"
Macro
Trigger !cv"Quick Macros Forum • Post a reply - Mozilla Firefox" "MozillaUIWindowClass"
RECT r
scan "Macro.bmp" win("iTunes" "#32770") r 0x2
,out "x=%i y=%i width=%i height=%i" r.left r.top r.right-r.left r.bottom-r.top[/code]
And I get
x=263 y=108 width=15 height=11
But now, I want to try to scan that image in a specified location region than output the coordinates but doesnt work
[code]RECT r; r.left=263; r.top=108; r.right=15; r.bottom=11
scan "Macro.bmp" win("iTunes" "#32770") r 0x2
,out "x=%i y=%i width=%i height=%i" r.left r.top r.right-r.left r.bottom-r.top