Peter, You can do this in OS 5 by registering for the sysNotifyEventDequeuedEvent. If you do that, note that in your callback, all the event data will need to be byte-swapped. Pre OS 5, you can set your own trap for the functions that you need info on.
Hope this helps. -Jon -------------------------------------------- Jonathan Hays Palm OS Certified Developer http://hazelware.luggle.com -------------------------------------------- -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Peter Hamilton-Scott Sent: Thursday, June 24, 2004 10:05 AM To: Palm Developer Forum Subject: Recording stylus and keystroke actions. Is it possible for an application to respond to any: (a) stylus tap on the screen, that is, record the x/y coords. (b) keystroke entry into text boxes. (c) determine what application is being launched. That sort of thing. The app I need to do will run in background and intercept the stylus and text entry events. I suppose a keystroke selection or write operation on the grafitti area can be distinguished as text and not as a series of tap event coordinates? The reason I want to do this is to record the user actions into a file and then later play the contents back? Playing back is not a problem, it's being able to record the inputs that I need to explore. Thanks. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
