Script Commands — Uopilot

  • winclose: Close a specific window.
  • winmove: Move a specific window to a new location.
  • Here is an example Uopilot script that demonstrates some of these commands:

    # Move the mouse to the location (100, 200)
    mousemove 100 200
    # Simulate a left mouse click at the location (100, 200)
    mouseclick 100 200 left
    # Type the string "Hello World"
    keydown h
    keydown e
    keydown l
    keydown l
    keydown o
    keydown  SPACE
    keydown w
    keydown o
    keydown r
    keydown l
    keydown d
    keyup
    # Activate the Notepad window
    winactivate Notepad
    # Take a screenshot of the entire screen
    screenshot
    

    This script moves the mouse to a specific location, simulates a mouse click, types a string, activates a window, and takes a screenshot. You can use Uopilot's built-in editor to create and run your own scripts. uopilot script commands

  • pixelsearch: Search for a specific pixel color on the screen.