

- BIND A HOTKEY HAMMERSPOON CODE
- BIND A HOTKEY HAMMERSPOON SERIES
- BIND A HOTKEY HAMMERSPOON MAC
- BIND A HOTKEY HAMMERSPOON WINDOWS
BIND A HOTKEY HAMMERSPOON CODE
Some of the lower-level extensions are written in Objective-C, but all of them expose a Lua API, and it is trivial to write your own extensions or modules to extend its functionality.įrom the Hammerspoon configuration you can also execute external commands, run AppleScript or JavaScript code using the OSA scripting framework, establish network connections and even run network servers you can capture and generate keyboard events, detect network changes, USB or audio devices being plugged in or out, changes in screen or keyboard language configuration you can draw directly on the screen to display whatever you want and many other things. It includes extensions for querying and controlling many aspects of the system. Hammerspoon acts as a thin layer between the operating system and a Lua-based configuration language.

BIND A HOTKEY HAMMERSPOON MAC
If you are a programmer, it can make using your Mac vastly more fun and productive. Hammerspoon is the most powerful Mac automation utility I have ever used.
BIND A HOTKEY HAMMERSPOON WINDOWS

Using Hammerspoon, you can replace many stand-alone Mac utilities for controlling or customizing specific aspects of your Mac (the kind that tends to overcrowd the menubar). Hammerspoon configuration is written in Lua, a popular embedded programming language. It also allows interfacing with AppleScript, Unix commands and scripts, and other applications. Hammerspoon enables interaction with the system at multiple layers–from low-level file system or network access, mouse or keyboard event capture and generation, all the way to manipulating applications or windows, processing URLs and drawing on the screen. Hammerspoon is a Mac application that allows you to achieve an unprecedented level of control over your Mac. In the word of Hammerspoon’s motto: Making the runtime, funtime.
BIND A HOTKEY HAMMERSPOON SERIES
This is the first installment of a series of posts about Hammerspoon, a staggeringly powerful automation utility which gives you an amazing degree of control over your Mac, allowing you to automate and control almost anything. focusedWindow () local f = win : frame () local screen = win : screen () local max = screen : frame () f. bind (, "C", function () local win = hs.
