xdotool

Fake keyboard/mouse input and window management for X
https://www.semicomplete.com/projects/xdotool/

Current versions
3.20160805.1

xdotool requires the following formulae to be installed:
pkg-config 0.29.2 Manage compile and link flags for libraries
libxkbcommon 0.8.0 Keyboard handling library

Recent formula history

ilovezfs Use “squiggly” heredocs.
Claudia xdotool: fix build error on 10.11 with Xcode 8 (#19639)
Viktor Szakats xdotool: https homepage and caveats url
Mike McQuaid xdotool: import from homebrew/x11.

Formula code at GitHub