Here is some code that i found and It gives me an error when I run it. (I am trying to run it as a .vbs file)
set a = createobject("wscript.shell")
Public Const MOUSEEVENTF_MOVE = &H1 ' mouse move
Public Function MoveMouse(x as long, y as long)
mouse_event MOUSEEVENTF_MOVE, 10, 20, 0, 0
I am looking for the scripting code to move a mouse to a specific location.
I am looking for the scripting code for all the locations or point y starting location and point x starting location.
I am looking for the scripting code to click the mouse after I specify where the mouse pointer will go.
I have posted this on the autoit program forum and they have not helped me yet.
Any help would be appreciated. Thank you.