Commands - Uopilot Script
| Command | Syntax | Description |
|---------|--------|-------------|
| Send | Send text | Types text |
| Key | Key A | Sends a single key press |
| KeyDown / KeyUp | KeyDown Ctrl | Press/hold key |
| WaitKey | WaitKey VK_F1 | Waits for a key to be pressed |
Uopilot is a powerful automation tool that allows you to automate user interface interactions on your computer. It supports a wide range of commands that can be used to create complex scripts. Here are some of the most commonly used Uopilot script commands: uopilot script commands
| Command | Syntax | Description |
|---------|--------|-------------|
| Goto | Goto Label | Jumps to a label |
| Label | Label Name | Defines a jump target |
| If / Else | If Var = Value | Conditional execution |
| Loop / EndLoop | Loop 5 | Repeats block N times |
| Wait | Wait 1000 | Pauses for milliseconds | get : Get the value of a variable
Example:
move 500 300 // Moves mouse to x:500, y:300
left // Left clicks
| Command | Syntax | Description |
|---------|--------|-------------|
| WinActivate | WinActivate Title | Brings window to foreground |
| WinWait | WinWait Title | Waits for window to exist |
| WinGetPos | WinGetPos Title, VarX, VarY | Gets window position |
| WinMove | WinMove Title, X, Y | Moves window | Y | Moves window |