Let's say I want to write a simple Cocoa app to make the Spaces feature of Leopard more useful. I would like to configure each space to have, say, different
- screen resolutions
- keyboard layouts
- volume (for audio)
So there are two parts to my question:
- I suppose there are ways to modify these three things independently of Spaces, right? If so, how?
- How can I detect in my app when a space change occurs, and when that happens, determine what space the user just switched to? Does Leopard send out some distributed notifications or something?
Update: There has to be some public API way of doing this, judging from all the Spaces-related apps on the Mac App Store.