Replies: 3 comments 1 reply
-
Have you tried HammerSpoon?
|
Beta Was this translation helpful? Give feedback.
-
Implementing a feature like this should be possible using the private SkyLight framework. This is the best attempt I’ve found at reverse engineering the Skylight framework: Unfortunately it’s far from complete and might be out of date in certain places. Also, the currently discovered APIs could break in future macOS updates. But MMF and many other apps depend on this and it has been fine for many years. The „(undocumented API)“ hammerspoon module which @MuhammedZakir mentioned is essentially a wrapper around this as far as I understand. Edit: I just checked and unfortunately, the APIs so far discovered in the NUIKit repo don’t seem to provide an obvious way to see if you're on the first or last space. Maybe we could figure out a way by playing around with the existing APIs, but from looking into them superficially, I think that's unlikely. However, I’m sure that there’s a way using the SkyLight framework. We just need to discover more of its API. If anyones interested in that, you can read more here NUIKit/CGSInternal#2 |
Beta Was this translation helpful? Give feedback.
-
Hi! I moved this topic to Issue #352. Please continue any discussion there. Thanks! |
Beta Was this translation helpful? Give feedback.
-
There is one really annoying limitation with scrolling through spaces in Mac OS - you have to go left, or right. You can't just have a single button that toggles through all of them, which would be far more logical - I never remember whether a space is left or right of the one I am in now - and would free up one of those buttons for another function. This is a Mac OS problem, not a mac-mouse-fix problem - they've made their own interface annoying for no reason.
But I wonder if there is a workaround. Is there any way of the software finding out when you have reached the end of the available spaces, so it could then automatically switch to scrolling in the other direction? Or might there be a hidden system call that actually does scroll through spaces like this but isn't made clear to the user, which the sofware could access?
Probably there's nothing that can be done, but if someone can think of a way to emulate something like this it would be awesome.
Beta Was this translation helpful? Give feedback.
All reactions