Mac OS X Development Development and discussion on the latest hackintosh drivers and methods.

Thread Tools Display Modes
  (#1) Old
symadept symadept is offline
Junior Member
Posts: 1
Join Date: Aug 2009
Default How to develop a background only running process and respond to keystrokes - 08-28-2009, 04:29 AM

Any pointers highly appreciable.

Reply With Quote
  (#2) Old
Sprout Sprout is offline
Junior Member
Posts: 1
Join Date: Jul 2009
Default 09-27-2009, 03:59 AM

Like, say...a keylogger?
Reply With Quote
  (#3) Old
ehunt123 ehunt123 is offline
Junior Member
Posts: 26
Join Date: Apr 2009
Default 10-12-2009, 04:02 AM

From doing some work in the past observing and learning how notifications on MacOSX work, you're going into an area that is not easy if you don't know a bit about the internals and also how to code.

From what I understand, you would have to run a process that looks for a workspace/notification of a certain event. Depending on if its a mouse click (look for the many variations of code helping enable gestures/multi touch such as multiclutch), keystrokes (logger or your usual shortcut apps come in to mind) or attaching/looking for a specific event (fsevents, launched, etc). Each area has different challenges and the mouse/keyboard stufff could involve using private/undocumented methods.

Your best bet is to use something like Spark or another watcher to perform whatever.
Reply With Quote

« NetbookBoot Maker asking several times the user password | Can I downgrade NetBookInstaller 8.3RC2? »
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Copyright © 2008-2016