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 sequoia
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.10 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.5 X.Org: Client API for the XTEST & RECORD extensions

Depends on when building from source:

pkgconf 2.3.0 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 117
Installs on Request (30 days)
xdotool 116
Build Errors (30 days)
xdotool 0
Installs (90 days)
xdotool 361
Installs on Request (90 days)
xdotool 360
Installs (365 days)
xdotool 1,573
xdotool --HEAD 3
Installs on Request (365 days)
xdotool 1,572
xdotool --HEAD 3
Fork me on GitHub