It doesn't look possible use CGEventTap
within sandboxed app. This Apple Developer Forum thread shows some details.
Does sandboxing allow my application to tap Quartz events?
-
16-01-2022 - |
Question
According to the author of this software:
TextExpander cannot be "sandboxed" according to the latest restrictions from Apple
Here is what TextExpander does:
TextExpander saves your fingers and your keyboard, expanding custom keyboard shortcuts into frequently-used text
What does that mean exactly ? I would like to react to Quartz events and post Quartz events accordingly.
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow