Re: Main Event queue

2009-08-05 Thread Greg Guerin
Sandro Noel wrote: what I would like to do is broad range, get information about every action for every application in my current desktop session. Dtrace? Try google keywords: dtrace mac os x -- GG ___ Cocoa-dev mailing list (Cocoa-dev@list

Re: Main Event queue

2009-08-05 Thread David Blanton
You need to do remote debugging, you can look up how to accomplish this, I did it some years ago and don't remember. Look at the Cocoa and Carbon APIs and make educated guesses as to what would be called when for example, a contextual menu is to be displayed. Set a break point on that API.

Re: Main Event queue

2009-08-05 Thread Ken Thomases
On Aug 5, 2009, at 9:50 AM, Sandro Noel wrote: what I would like to do is broad range, get information about every action for every application in my current desktop session. Window movement, hide, show, activate, deactivate, open, close, mouse movement, drag and drop operations, contextual

Re: Main Event queue

2009-08-05 Thread Sandro Noel
n Aug 4, 2009, at 7:10 PM, Sandro Noel wrote: Is there a cocoa or carbon framework that would allow my software to hook onto the system main event queue, like in windows? or to hook into the window manager. I would like to peek at every message that traverse the main queue. Do you mean just you

Re: Main Event queue

2009-08-05 Thread Ken Thomases
On Aug 4, 2009, at 7:10 PM, Sandro Noel wrote: Is there a cocoa or carbon framework that would allow my software to hook onto the system main event queue, like in windows? or to hook into the window manager. I would like to peek at every message that traverse the main queue. Do you mean

Re: Main Event queue

2009-08-04 Thread Dave Keck
> (active filter) and after (passive filter) they're handled by the Sorry - that should read 'passive listener', meaning you can either actively wait for and manipulate events as they occur, or you can relax and wait for events to be reported after they've already been dealt with. Of course it sou

Re: Main Event queue

2009-08-04 Thread Dave Keck
> Will this enable me to trap "drag begin" "drag end" a window moving around > messages ? Event taps allow you to intercept, block, and manipulate events before (active filter) and after (passive filter) they're handled by the window server. My limited experience with them suggests that, yes, you

Re: Main Event queue

2009-08-04 Thread Sandro Noel
On 4-Aug-09, at 8:20 PM, Dave Keck wrote: It sounds like an event tap might help: http://developer.apple.com/documentation/Carbon/Reference/QuartzEventServicesRef/Reference/reference.html#/ /apple_ref/c/func/CGEventTapCreate http://prefabsoftware.com/eventtapstestbench/ Dave, Nice... I thin

Re: Main Event queue

2009-08-04 Thread Dave Keck
It sounds like an event tap might help: http://developer.apple.com/documentation/Carbon/Reference/QuartzEventServicesRef/Reference/reference.html#//apple_ref/c/func/CGEventTapCreate http://prefabsoftware.com/eventtapstestbench/ ___ Cocoa-dev mailing lis

Main Event queue

2009-08-04 Thread Sandro Noel
Greetings, Is there a cocoa or carbon framework that would allow my software to hook onto the system main event queue, like in windows? or to hook into the window manager. I would like to peek at every message that traverse the main queue. Thank you for any information or pointers to the