• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Repositioning another app's windows?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Repositioning another app's windows?
      • From: Lee Ann Rucker <email@hidden>
  • Prev by Date: Re: Images with direct memory access
  • Next by Date: Re: Repositioning another app's windows?
  • Previous by thread: Re: Problem enumerating a directory
  • Next by thread: Re: Repositioning another app's windows?
  • Index(es):
    • Date
    • Thread