Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scan Help
#1
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"     Help - how to add the trigger to the macro
Code:
Copy      Help
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


Forum Jump:


Users browsing this thread: 1 Guest(s)