| 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 |

Do you need the script to while you use your PC?

| Command | Syntax | Description | |---------|--------|-------------| | WINACT | WINACT Title | Activates (brings to foreground) the window containing "Title". | | WINCLS | WINCLS Title | Closes the window. | | WINMAX | WINMAX Title | Maximizes the window. | | WINMIN | WINMIN Title | Minimizes the window. | | WINSIZ | WINSIZ Title, X, Y, W, H | Resizes and moves the window. | | WINGET | WINGET VarName, Title | Gets the handle of a window into a variable. |

Example Uopilot script command:

if 500 300 123456 send F1 end_if