Hammerspoon is a free, open-source macOS automation utility that exposes system functions to Lua scripts. Instead of clicking through a large visual automation interface, you write a small configuration file and give your Mac exactly the behaviors you want.

It can create global keyboard shortcuts, move windows into named layouts, react when Wi-Fi networks change, inspect USB devices, and interact with application menus. That makes it a practical companion to Stream Deck, Jump Desktop, and a headless MiniMac: a physical button or key combination can invoke a script that performs several repeatable actions.

The Mac Apps Daily directory describes release 1.1.1 and macOS 13-or-later support; confirm current requirements on the official site. Start with a harmless one-action experiment, such as a shortcut that moves a window to the left half of the screen. Once reliable, build the more ambitious automation.