Uopilot Script Commands |link| -
After winset , use winx / winy to offset mouse moves inside window.
Keywords: Uopilot script commands, blog post, automation, scripting.
| Type | Prefix | Example | Notes | |------|--------|---------|-------| | Numeric | # | set #i 20 | Case-insensitive, up to 255 characters | | String | $ | set $s "test string" | Strings are case-insensitive and can be concatenated by writing variables directly together | | Array | % | set %arr[50 1] 544 | Can be 1D or 2D. Access with %arr[50 1] | uopilot script commands
This article provides a detailed breakdown of essential UoPilot script commands, from basic clicking to advanced logic, enabling you to automate your workflow efficiently. 1. Getting Started with UoPilot Commands
: Counts milliseconds from the start of the script or since the last set timer = 0 . After winset , use winx / winy to
while #counter < 10 set $filename $base#counter$ext // Produces "captcha1.png", "captcha2.png", etc. set #counter #counter + 1 end_while
: Searches a designated area for a specific color and stores the result in an array. : Searches for a small image within the active window. 5. Variables and Math set #var : Assigns a value to a numeric variable (e.g., set #count 0 set $var : Assigns a value to a string variable. set #var #var + 1 : Basic arithmetic is supported for counters and timers. Best Practices for Beginners Use the Record Feature Access with %arr[50 1] | This article provides
Captures a screen region into an array variable. You can then save it:
The number after repeat determines how many times the block executes. Unlike for , repeat doesn't modify variables during execution — it simply repeats using the initial value.
Mastering UoPilot Script Commands: A Comprehensive Guide to Automation


