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:

Apple Silicon sonoma
ventura
monterey
big sur
Intel sonoma
ventura
monterey
big sur
catalina
64-bit linux

Current versions:

stable 3.20211022.1
head ⚡️ HEAD

Depends on:

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

Depends on when building from source:

pkg-config 0.29.2 Manage compile and link flags for libraries
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 179
Installs on Request (30 days)
xdotool 179
Build Errors (30 days)
xdotool 0
Installs (90 days)
xdotool 446
Installs on Request (90 days)
xdotool 447
Installs (365 days)
xdotool 1,761
Installs on Request (365 days)
xdotool 1,762
Fork me on GitHub