• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: keystroke logger for Mac OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: keystroke logger for Mac OS X


  • Subject: Re: keystroke logger for Mac OS X
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Mon, 13 Oct 2008 17:06:08 +0200

Note that this technic will not be able to catch secured events:

http://developer.apple.com/technotes/tn2007/tn2150.html



Le 13 oct. 08 à 16:24, Dave DeLong a écrit :

Use a CGEventTap for the keystroke capturing, and the NSWorkspace class to get the info you need about the frontmost app. Writing it to a file is trivial.

Dave

On Oct 13, 2008, at 5:16 AM, apple apple wrote:

I need to write a keystroke logger for Mac OS X. I am debating which
architecture to use. Can this be accomplished efficiently from user space or
would a KEXT be needed? It needs to be fast and efficient.


Ideally the logger will not impact system performance in any way. Also
ideally it should comply with the following:


- Runs under 10.5 and 10.4 would also be nice.


- Must log every keystroke typed to a file.


- Should capture the name of the app in which the keystrokes were typed.



- Should capture the title of the window in which the keystrokes are typed.



- Ideally the logger should use notifications rather than polling so that
the logger code only gets called when an actual keystroke happens.


Any ideas on what the best architecture would be to accomplish this?


Thanks
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


References: 
 >keystroke logger for Mac OS X (From: "apple apple" <email@hidden>)
 >Re: keystroke logger for Mac OS X (From: Dave DeLong <email@hidden>)

  • Prev by Date: Re: keystroke logger for Mac OS X
  • Next by Date: NSComboBox, bindings, and auto-complete, oh my!
  • Previous by thread: Re: keystroke logger for Mac OS X
  • Next by thread: Re: keystroke logger for Mac OS X
  • Index(es):
    • Date
    • Thread