How can I change the x and y pos of the mouse?
Use the SetCursorPos Api function to change the mouse position. Code: Declare Function SetCursorPos Lib "user32" (ByVal x _ As Long, ByVal y As Long) As Long t& = SetCursorPos(500,300)
Declare Function SetCursorPos Lib "user32" (ByVal x _ As Long, ByVal y As Long) As Long t& = SetCursorPos(500,300)
Forum Rules