| 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 |
This public link is valid for 7 days and shares a thread, including any personal information you added. This link or copies made by others cannot be deleted. If you share with third parties, their policies apply. Can’t copy the link right now. Try again later.
if x, y color // Commands to run if the color matches else // Commands to run if the color does not match end_if Use code with caution. Color Check Modifiers
This is particularly useful for moving items from the ground to your inventory. For best results, ensure both coordinates are accurate (use Ctrl+A to capture them). If quantity is omitted or set to all , all items in the stack will be moved. uopilot script commands
Mouse movements and clicks form the backbone of most desktop automation scripts. UoPilot offers precise control over cursor behavior.
Performs a at the specified coordinates.
Clicks and holds the left mouse button at X1, Y1 , moves to X2, Y2 , and releases it. Perfect for drag-and-drop actions or drawing. Example: drag 100 100 300 300 2. Keyboard Simulation Commands Can’t copy the link right now
UoPilot scripts are written in a simple, line-by-line procedural language. The execution flows from top to bottom unless redirected by conditional logic, loops, or labels. Key Syntax Rules
is a powerful automation tool frequently used for gaming and repetitive desktop tasks. Its scripting language allows users to simulate mouse clicks, keystrokes, and complex logic like loops and conditional checks.
Example: if 100, 200 16777215 checks if the pixel at (100, 200) matches a specific color code. Color Check Modifiers This is particularly useful for
Conditions: Supports mathematical operators ( < , > , <= , >= , = , <> ) and color checks.
# Take a screenshot of the entire screen screenshot
This script will open Notepad, type "Hello World!", wait for 2 seconds, and then simulate a mouse click.
: Assigns a numeric value to a variable (variables starting with # are numeric).