Look for information on "event taps". But be aware that they don't work in the application sandbox, so you won't be able to submit your app to the Mac App Store.
On Jun 25, 2012, at 1:56 AM, Abhijeet Singh wrote: > Hi,I want to perform some action in my application whenever user presses any > key on keyboard or uses the mouse. How can I trap these > events....ThanksAbhijeetDear cocoadev ! Get Yourself a cool, short @in.com > Email ID now! > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/cocoa-dev/starkos%40industriousone.com > > This email sent to star...@industriousone.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com