Autoit Mouse Script not working -


i'm trying write script move mouse pointer various locations on screen i'm getting following error message:

error image

the full script is:

mouseclick($mouse_click_left, 777, 68, 1) mouseclick($mouse_click_right, 777, 68, 1) mouseclick($mouse_click_left, 810, 126, 1) mouseclick($mouse_click_left, 675, 35, 1) sleep (5000) mouseclick($mouse_click_right, 755, 640, 1) mouseclick($mouse_click_right, 780, 510, 1) mouseclick($mouse_click_left, 935, 720, 1) sleep (250000) mouseclick($mouse_click_left, 740, 690, 1) mouseclick($mouse_click_left, 1064, 35, 1) sleep (10000) mouseclick($mouse_click_left, 1265, 10, 1) 

you missing include constants $mouse_click_left , $mouse_click_right.

put following line first line of script:

#include <autoitconstants.au3> 

Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -