Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Togo

macrumors newbie
Original poster
May 15, 2012
5
0
Hi,

i have a idea for a program. I want to catch all actions from the users. If the user performed this action with the mouse, i wanna show him a notification with the shortcut of this actions. For example: The user open with the mouse a new tab in Safari the program recognize this and show him a message "Hey you can do this with: Apple + T".

I played around with the

Code:
addGlobalMonitorForEventsMatchingMask:NSLeftMouseDownMask

but i can't find a connection to the Event that has been performed.

Is there anybody with a idea how i can do this with build in classes from Cocoa/Objective-c?

Thank in advance for your help

Greetings from Germany :D

Tobi
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.