| Command | Syntax | Description | |---------|--------|-------------| | MOVETO | MOVETO X, Y | Moves cursor to absolute screen coordinates. | | MOVEM | MOVEM Xoff, Yoff | Moves cursor relative to current position. | | CLICK | CLICK ["L" or "R" or "M"] | Clicks left (default), right, or middle button. | | DCLICK | DCLICK ["L" or "R"] | Double-clicks. | | DOWN | DOWN ["L" or "R"] | Presses and holds mouse button. | | UP | UP ["L" or "R"] | Releases mouse button. | | DRAG | DRAG X, Y | Drags from current position to X,Y (requires DOWN first). | | WH | WH +/- steps | Scrolls wheel up (+) or down (-). |
SEND "Hello from UOPilot" SENDK "ENTER" Save a file (Ctrl+S) – you must use KEYDOWN / KEYUP for modifiers. uopilot script commands
Unlike complex scripting languages like AutoHotkey or Python, UOPilot uses an intuitive, human-readable syntax. Its command set focuses on simulating mouse movements, keyboard inputs, pixel detection, window management, and conditional logic. | | DCLICK | DCLICK ["L" or "R"] | Double-clicks