Thanks
Code: Select all
WSI_TIMEOUT = 0
label>start
FindImagePos>C:\Users\me\Desktop\macmbpm\wg4.bmp,SCREEN,17,1,X,Y,NumFound
If>NumFound>0
MouseMove>X_0,Y_0
LDOWN
wait>1
MouseMoveRel>425,180
wait>2
lclick>
endif
goto>start
Moderators: Dorian (MJT support), JRL
Code: Select all
WSI_TIMEOUT = 0
label>start
FindImagePos>C:\Users\me\Desktop\macmbpm\wg4.bmp,SCREEN,17,1,X,Y,NumFound
If>NumFound>0
MouseMove>X_0,Y_0
LDOWN
wait>1
MouseMoveRel>425,180
wait>2
lclick>
endif
goto>start
Code: Select all
Let>SM_XVIRTUALSCREEN=76
Let>SM_YVIRTUALSCREEN=77
Let>SM_CXVIRTUALSCREEN=78
Let>SM_CYVIRTUALSCREEN=79
LibFunc>User32,GetSystemMetrics,VScrWidth,SM_CXVIRTUALSCREEN
LibFunc>User32,GetSystemMetrics,VScrHeight,SM_CYVIRTUALSCREEN
LibFunc>User32,GetSystemMetrics,VScrLeft,SM_XVIRTUALSCREEN
LibFunc>User32,GetSystemMetrics,VScrTop,SM_YVIRTUALSCREEN
ScreenCapture>VScrLeft,VScrTop,{%VScrWidth%+%VScrLeft%},{%VScrHeight%+%VScrTop%},%SCRIPT_DIR%\bmp1.bmp