10-16-2011, 08:33 AM
Dear QM user/developer
Please show me how to use command FindPic.
I used the pick function to capture a small picture of my screen and saved in "D:\Qmacro\script\1.bmp"
Then I write this small script:
VBSCall Call FindPic(0,0,1023,767,"D:\Qmacro\script\1.bmp",0.9,x,y)
If x=-1 and y=-1
MoveTo 500 500
Else
MoveTo 200 200
EndIf
The result is the mouse was moved to (500,500) @@
Did I forget something? or any mistake here? I used Qmacro v6.20
Thank for advise.
Please show me how to use command FindPic.
I used the pick function to capture a small picture of my screen and saved in "D:\Qmacro\script\1.bmp"
Then I write this small script:
VBSCall Call FindPic(0,0,1023,767,"D:\Qmacro\script\1.bmp",0.9,x,y)
If x=-1 and y=-1
MoveTo 500 500
Else
MoveTo 200 200
EndIf
The result is the mouse was moved to (500,500) @@
Did I forget something? or any mistake here? I used Qmacro v6.20
Thank for advise.