Repositioning another app's windows?
Repositioning another app's windows?
- Subject: Repositioning another app's windows?
- From: Rick Mann <email@hidden>
- Date: Sat, 28 Jul 2012 19:50:00 -0700
Hi. I frequently add and remove external monitors from my laptop. Each time I do this, the windows all get rearranged.
I wonder if it's not possible to write an agent that listens for screen geometry changes, and repositions app windows in the right place each time a monitor is added or removed.
If this utility already exists, I'd love to hear about it. If not, is there a reliable way to get at all the windows currently instantiated, and determine which they are? I've looked briefly at the accessibility APIs, and that might do the trick. But I wonder if there's not another way I should consider.
I know I can listen for screen geometry changes, I've done it before (gonna have to dig up that code).
Thanks!
--
Rick
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden