tmandry / Swindler

macOS window management library for Swift
https://tmandry.github.io/Swindler/docs/main/
MIT License
695 stars 66 forks source link

Not work in Sandbox mode #12

Closed wizardguy closed 5 years ago

wizardguy commented 6 years ago

May I confirmed with you that is this expected behavior or some bug?

tmandry commented 6 years ago

Well, you have to enable accessibility access for the app in System Preferences for Swindler to work at all. See the examples for how to request this.

Not sure if sandboxed apps are allowed to do this or not, but I would not be surprised if they weren't. Apple hasn't given these APIs much love in recent years.