Repository

dainank/apple-click-through

apple-click-through

This script eliminates the need to click an inactive macOS window before interacting with its UI elements.

14stars

Open github.com

dainank/apple-click-through

apple-click-through

A Hammerspoon script that eliminates the need to click an inactive macOS window before interacting with its UI elements.

Visit project

Show me a random project

First shared
Jul 22, 2026
HN activity
20

Show HN@dainankJul 22, 2026

Show HN: Interact with inactive macOS windows without selecting the window first

macOS requires users to 'select' a window first before being able to interact with UI elements within. This leads to more clicks, and I personally found this tedious. Furthermore, this behavior was inconsistent, with some applications actually supporting 'Click Through'. I was not able to find any solutions online without drastically changing the behavior of the OS. In the end I found Hammerspoon and via AI, quickly put together a neat script that seems to work flawlessly (I have also already tested it works on the beta of Golden Gate). This script enables click through on macOS, allowing you to click UI elements inside inactive windows without clicking the window first, solving the aforementioned problem. Feel free to try it out and submit improvements. I submitted this on HN since I figured some users are looking for something similar since a few years.

Community

Hacker News discussion

Loading the thread…