Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pyautogui

>>> pyautogui.dragTo(x, y, duration=num_seconds)  # drag mouse to XY
>>> pyautogui.dragRel(xOffset, yOffset, duration=num_seconds)  # drag mouse relative to its current position
Source by pyautogui.readthedocs.io #
 
PREVIOUS NEXT
Tagged: #pyautogui
ADD COMMENT
Topic
Name
4+1 =