I'm going through your example code, and while you said it probably won't compile (which is fine), I'm struggling with the class CGEventTapAction you're using. I can't find in the documentation.
Topic:
App Store Distribution & Marketing
SubTopic:
General
Tags: