Anonymous user
Simulate input/Mouse: Difference between revisions
m
→{{header|Python}}: Whoops added comments
(Added Python example (works on windows)) |
m (→{{header|Python}}: Whoops added comments) |
||
Line 171:
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()</lang>
=={{header|Tcl}}==
===Within an Application===
|