Sync
This commit is contained in:
parent
6f050a029e
commit
776bba907c
3887 changed files with 59894 additions and 7280 deletions
7
Task/Simulate-input-Mouse/Python/simulate-input-mouse.py
Normal file
7
Task/Simulate-input-Mouse/Python/simulate-input-mouse.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import ctypes
|
||||
|
||||
def click():
|
||||
ctypes.windll.user32.mouse_event(0x2, 0,0,0,0) # Mouse LClick Down, relative coords, dx=0, dy=0
|
||||
ctypes.windll.user32.mouse_event(0x4, 0,0,0,0) # Mouse LClick Up, relative coords, dx=0, dy=0
|
||||
|
||||
click()
|
||||
Loading…
Add table
Add a link
Reference in a new issue