Python控制鼠标键盘自动化
from ahk import AHKahk = AHK()
ahk.mouse_move(x=100, y=100, blocking=True)# Blocks until mouse finishes moving (the default)
ahk.mouse_move(x=150, y=150, speed=10, blocking=True) # Moves the mouse to x, y taking 'speed' seconds to move
print(ahk.mouse_position) 这个案例的演示可以看:
https://pypi.org/project/ahk/
页:
[1]