NSApplication *cocoaApp = [NSApplication sharedApplication];
// Block to retrieve an event then send it
if(NSEvent *event = [cocoaApp
NSApplication *cocoaApp = [NSApplication sharedApplication];
// Block to retrieve an event then send it
if(NSEvent *event = [cocoaApp