kasper / phoenix

A lightweight macOS window and app manager scriptable with JavaScript
https://kasper.github.io/phoenix/
Other
4.39k stars 128 forks source link

Tab enumeration? #336

Open rcarmo opened 1 year ago

rcarmo commented 1 year ago

I’ve been looking at the Accessibility APIs, and was wondering if it would be feasible to add tab enumeration (and actions) to Phoenix. I’d like to have the ability to do type-ahead find and switching to windows and specific tabs inside them, and although the former is now within reach, the latter requires the ability to figure out which tabs a window has.?

kasper commented 1 year ago

@rcarmo Great idea, will look into this!

rcarmo commented 1 year ago

Any updates on this? Would really come in handy with the new modals.

albinekb commented 2 months ago

Here's a good starting point: https://github.com/Hammerspoon/hammerspoon/blob/08cb81357dae2e9ecce33cba1a627b9dbc09af04/Hammerspoon/HSuicore.m#L537-L586