xdotool

Install command:
brew install xdotool

Fake keyboard/mouse input and window management for X

https://www.semicomplete.com/projects/xdotool/

License: BSD-3-Clause

Formula JSON API: /api/formula/xdotool.json

Formula code: xdotool.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
sequoia
sonoma
ventura
monterey
big sur
macOS on
Intel
sonoma
ventura
monterey
big sur
catalina
Linux ARM64
x86_64

Current versions:

stable 3.20211022.1
head ⚡️ HEAD

Depends on:

libx11 1.8.12 X.Org: Core X11 protocol client library
libxinerama 1.1.5 X.Org: API for Xinerama extension to X11 Protocol
libxkbcommon 1.8.1 Keyboard handling library
libxtst 1.2.5 X.Org: Client API for the XTEST & RECORD extensions

Depends on when building from source:

pkgconf 2.4.3 Package compiler and linker metadata toolkit
You will probably want to enable XTEST in your X11 server now by running:
    defaults write org.x.X11 enable_test_extensions -boolean true

For the source of this useful hint:
    https://stackoverflow.com/questions/1264210/does-mac-x11-have-the-xtest-extension

Analytics:

Installs (30 days)
xdotool 97
Installs on Request (30 days)
xdotool 97
Build Errors (30 days)
xdotool 0
Installs (90 days)
xdotool 362
xdotool --HEAD 2
Installs on Request (90 days)
xdotool 362
xdotool --HEAD 2
Installs (365 days)
xdotool 1,485
xdotool --HEAD 4
Installs on Request (365 days)
xdotool 1,484
xdotool --HEAD 4
Fork me on GitHub