rcmd vs. the Mac App Store
The defacto way of reacting to
Right Command
+some other key
is to monitor all key events (yes, just like a keylogger), and discard events that don’t contain the Right Command modifier flag.Easy peasy, right? Well no, because that’s not allowed on the App Store.
He found a workaround to using the accessibility API:
It turns out that
RegisterEventHotKey
is plenty fast. So fast that we were able to register the hotkeys only whenRight Command
was being held, and unregister them when the key was released.
But then got rejected for using a private API to trigger Exposé. The only public way I know to do this is to launch the Mission Control app.
Having to pay upfront is steering away a lot of possible users, but with all that bad UX [for free trials], we decided to not implement any free trial and just sell the app for a one-time fair price.
Finally the rcmd app switcher is in the store:
Can I cycle between windows of the same app?
Unfortunately there’s no macOS API that allows us to focus specific windows of an app.
The Accessibility API would allow this in some manner but it is not allowed on the App Store.
Previously:
- Free Trials Aren’t Free Apps
- App Store Requires Opting Out After Trial Subscription
- Mac App Store Sandboxing, IAP Trials, Multiplatform Services
3 Comments RSS · Twitter
Why not have a crippled version in the App Store and then an unlimited one for download? The MAS version writes the receipt to the prefs and the indie version validates it, and so the user doesn't have to pay twice. I do that in my apps, too.
@ Bri: reach. Some people will only install apps from there, or will trust those more.
(I'm not saying that's necessarily a sufficient argument. I get the sense Apple really shot themselves in the foot with their change to a "sandboxed apps only" policy on the MAS, which of course also doesn't apply to their own apps.)