Post marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
Post marked as solved with 3 replies, 0 views
Replied In
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?