Thank you so much once again Quinn! Do you have any suggestions on how I can find these things myself? I've googled and searched for this so much but never stumbled upon CGRequestPostEventAccess or CGPreflightPostEventAccess. Or do you just know these things from experience?
Post
Replies
Boosts
Views
Activity
Thank you so much for your help! You were totally right, it sure wasn't "fun" to call CGEventTap from swift ;) But I managed to solve it thanks to you!
I have a follow-up question regarding accessibility permission that I think might help more people since it seems a bit quirky: Programmatically press "delete" or "cmd + v" in sandboxed app
I would appreciate it a lot if you could take a look!