Post

Replies

Boosts

Views

Activity

Reply to Accessibility permission in sandboxed app
Thank you for your reply! Im creating a small lorem ipsum text generator app that requires an observer for keyDown events. And this requires accessibility permission. So the data Im getting is essentially text from keyboard. The action I do in the app is to match the input text with regexp in order to trigger commands. NSEvent.addGlobalMonitorForEvents(matching: .keyDown) {(event) in guard let characters = event.characters else{return} In case you want a further explanation I’ve described the app properly over here: https://danieldanielsson.se/#/lorema Is there any way to allow this in a sandboxed environment?
Jun ’22