views:

14

answers:

1

I have been reading up on OS X's Core animation. I would like to know if it is possible to control the OS windows in a similar way to Expose, Time Machine, and or switching user screens. I am aware that it is possible to easily do these effects in your own program. But if one wanted to control Safari's browser windows, let's say, is that possible? I'm having trouble finding thorough information about the "Compositor" (not Composer), Core Animation's API, and other OS windowing details.

+1  A: 

What you can do with publicly available API is limited. What's public can be found in the Quartz Window Services.

For non-public routines, google CGWindow+Quartz or CGSWindow+Quartz.

And you can always inject code to windowserver if you're brave enough. But that's not easy.

Yuji