My first guess would be to register for a Carbon Event: http://developer.apple.com/documentation/Carbon/Reference/Carbon_Event_Manager_Ref/index.html
I did a few quick searches on apple's developer documentation page and I didn't find anything about detecting screen changes via Carbon Events. But hopefully a more in-depth search would find something. I found this PDF on Apple's site: http://developer.apple.com/documentation/Carbon/Conceptual/Optimizing_DisplayManager/Optimizing_DisplayManager.pdf It talks about registering for the appropriate Display Manager AppleEvents for screen changes. I haven't tested this. But I know that creating AppleScriptable apps with RB is a pain. Hope that helps! ~ Tomis __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
