win32api mouse event python

Solutions on MaxInterview for win32api mouse event python by the best coders in the world

showing results for - "win32api mouse event python"
Bettina
25 Jun 2019
1import win32api, win32con
2def click(x,y):
3    win32api.SetCursorPos((x,y))
4    win32api.mouse_event(win32con.MOUSEEVENTF_LEFTDOWN,x,y,0,0)
5    win32api.mouse_event(win32con.MOUSEEVENTF_LEFTUP,x,y,0,0)
6click(10,10)
7
similar questions
queries leading to this page
win32api mouse event python