/windotool

xdotool for Windows Desktop

Primary LanguageC#

windotool -- xdotool for Windows Desktop

Install

TBW. Executable binary will be released...

Usage

See

$ windotool help

key

$ windotool key Hello  # Types H, e, l, l and o
$ windotool key "^D"   # Ctrl+Shift+D

For details for key notation, please see .NET document.

mousemove

$ windotool mousemove {x} {y}  # absolute point
$ windotool mousemove 200 100

click

$ windotool click {button}  # left is 1, middle is 2 and right is 3.
$ windotool click 1

Note: "click" is "mousedown then mouseup".

mousedown, mouseup

See click.

# Select (100,100) to (200,200) by leftbutton
$ windotool movemove 100 100
$ windotool mousedown 1
$ windotool movemove 200 200
$ windotool mouseup 1

Todo

  • key
    • -repeat, -delay
  • keydown
  • keyup
  • mousemove
  • mousedown
  • mouseup
  • click
    • -repeat, -delay

For Windows Developers

Install dotnet,

$ dotnet run