• 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: "Clark Cox" <email@hidden>
  • Date: Mon, 13 Oct 2008 08:06:23 -0700

FYI: the system will hide keyboard input from you in password fields
(as well as any input in Terminal if the user turns on "Secure
Keyboard Entry").

On Mon, Oct 13, 2008 at 7:24 AM, Dave DeLong <email@hidden> wrote:
> 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
>



--
Clark S. Cox III
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: Cocoa Programmer Hourly Rate
  • Next by Date: Re: keystroke logger for Mac OS X
  • Previous by thread: Re: keystroke logger for Mac OS X
  • Next by thread: Re: keystroke logger for Mac OS X
  • Index(es):
    • Date
    • Thread