HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
sbmpost
AutoRaise
Objective-C++2021–2026
sbmpost / AutoRaise

AutoRaise

AutoRaise (and focus) a window when hovering over it with the mouse

13Distinct people
14Mentions
0Explicit recommenders
2.9KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

AutoRaise (and focus) a window when hovering over it with the mouse

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year14 dated mentions

Observed mentions: 2021-01-12 21:26:12 UTC to 2026-04-16 20:56:54 UTC.

012342021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 2 mentions; 2 submissions, 0 comments20212022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 3 mentions; 1 submissions, 2 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments20232024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC220
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC312
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC202
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC202
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC404
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC101

What Hacker News says

14 sources
Which specific ones though allow you to send input to a window without raising it? People have been trying to do "focus follows mouse [without auto raise]" for a long time on mac, and the synthetic event equivalent to command+click is the only discovered method I'm aware of, e.g. used in https://github.com/sbmpost/AutoRaise There is also this old blog post by Yegge [1] which mentions `AXUIElementPostKeyboardEvent` but there were plenty of bugs with that, and I haven't seen anyone else build on it. I guess the modern equivalent is `CGEventPostToPSN`/`CGEventPostToPid`. I guess it's a good candidate though, perhaps the Sky team they acquired knows the right private APIs to use to get this working. Edit: The thread at [2] also has some interesting tidbits, such as Automator.app having "Watch Me Do" which can also do this, and a CLI tool that
Read the rest
claims to use the CGEventPostToPid API [3]. Maybe there's more ways to do it than I realized. [1] https://steve-yegge.blogspot.com/2008/04/settling-osx-focus-... [2] https://www.macscripter.net/t/keystroke-to-background-app-as... [3] https://github.com/socsieng/sendkeys
In Codex for almost everything
I just discovered RayCast's window manager[1]. - The "cycle 1/2, 2/3, and 1/3" feature is amazing. - As well as optional (CapsLock as) HYPER key[2]. (Still using Magnet for the activation areas) The one thing Rift offers that I needed was: "Focus follows the mouse with auto raise" I managed to find it here: https://github.com/sbmpost/AutoRaise [1]: https://www.raycast.com/core-features/window-management [2]: https://manual.raycast.com/hyperkey
In Show HN: Rift – A tiling window manager for macOS
> When a window is in the background it doesn't receive clicks, so you have to click on it twice. This is sort of true but the full truth is less straight forward. On unfocused apps you can still send through scrolling and (mostly) perform single clicks with command + click... you can also without focus send single clicks to certain controls the developer has ad hoc allowed 'click through' on... For mouse oriented users I'd recommend trying a focus follows mouse experience like AutoRaise [1]. But I mean, it's not like this solution existing absolves Apple of the broader criticism here about what they prioritize and deprioritize for the default user interface experience. [1] https://github.com/sbmpost/AutoRaise
In I feel Apple has lost its alignment with me and other long-time customers
I'm not sure they appeal to the same group of users. macOS is IMNHO much worse than GNU/Linux with a proper window manager, much less comfortable to use with multiple desktops, and forces the use of a mouse/trackpad way too much.[1] The m2 can run Linux - but external display support is probably a long way off. So for the user wanting to run Linux - m2 isn't really viable - unless you actually work on it with just the built-in screen - for me that doesn't work ergonomically. I have the m2 - it's not terrible - I suspect I'd prefer one of these. [1] Rectangle and AutoRaise helps a lot, making the UX livable: https://github.com/sbmpost/AutoRaise https://github.com/rxhanson/Rectangle
In Framework 13 AMD 7040 Series: A Developer's First Impressions

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.