Re: pointers for newbie wanting to write a 'window' logger
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=G1mwtmbZndpgPPPngj9eysoCP22MNq2UNqek2y83sTU=; b=DZ0/jDTdqAasa2WZEtjoKFOkXRLA1y8l7ulhj6djnKJyi1v2pVf+GXFynauBbCktkG gtUhtDdpCITzCRrCVWXavcrRyLX8cEImKZhwSTg1Vr/B8SD/vHHh20hhphJ0585/Eigg 8GuQj0ZPXqOGzCUsTxwaSN76WN1roXWVzi7gw= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=FAUyRjlf5FcKNp23EyG9WNybH4t4rBfHs8/PHcYckDxZ7mqbsRkEy7jjyFTqh0CGIx vQYsag7E9IsLDeofjfqUlm1gveyk8Kyd8z8ANxn4w2VGcT+jK3TgS4XyNLpQ3emprGri w963u6I5xoHau4Rf0Ek2nfau5XlJlwVeiVHYI= Hi Joel, a start: this is only an example http://code.google.com/p/logkext/ there are other existing ways, I don't know the goal on top of this, if you want a proper and deeper answer, I guess you should be more "didactic", as far as I can understand it's only a part of something else Cheers! On Fri, Sep 5, 2008 at 2:43 PM, Joel Sherriff <joel@6sa.com> wrote:
New to OS X, but I need to write an app that records activity similiar to a keylogger - only that I don't want the keys that are recorded, only to know that a key or mouse button was pressed and what the window title of the window that got the event was. A window-activity logger, versus a keylogger. I'd prefer not to go to as low a level as a kernel extension, as I'd really like to keep this in user space (but I will, if I have to). I've done the same thing in Windows (using hooks) and Linux (X11 using the XRecord extension to the X server), but I know little or nothing about Quartz, Aqua, Carbon, kernel extensions, etc, etc, so I'm asking for guidance as to the right layer to target and technology to use. In the X11 version, the monitor loads from the Xsession config - that is it starts when the user logs in and runs only while the user is logged in... ideally I'd like to mimic that. Can someone with more experience on OS X features give me some pointers?
Btw, I know this isn't specifically a kernel question, but I figure the kernel guru's would know best when something shouldn't be done in a kernel extension. If a kernel extension is the only way to do it though, then that's the way I'll go.
Thanks. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/openspecies%40gmail.com
This email sent to openspecies@gmail.com
-- -mmw _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
mm w