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

/api/formula/xdotool.json (JSON API)

/api/bottle/xdotool.json (Bottle JSON API)

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

Intel big sur
catalina
mojave
64-bit linux
Apple Silicon big sur

Current versions:

stable 3.20160805.1
head ⚡️ HEAD

Revision: 2

Depends on:

libx11 1.7.2 X.Org: Core X11 protocol client library
libxinerama 1.1.4 X.Org: API for Xinerama extension to X11 Protocol
libxkbcommon 1.3.0 Keyboard handling library
libxtst 1.2.3 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 250
Installs on Request (30 days)
xdotool 250
Build Errors (30 days)
xdotool 0
Installs (90 days)
xdotool 825
Installs on Request (90 days)
xdotool 826
Installs (365 days)
xdotool 3,768
Installs on Request (365 days)
xdotool 3,746
Fork me on GitHub