6
1
Possible Duplicate:
Reset Mac OS X Windows Position after de-attaching external monitor
I use my laptop at work, where I have a second monitor, and at home, where I don't. When I plug in the external display, I'd like the Mac to automatically run a shell script or AppleScript that will reposition a bunch of windows to their "standard" external-monitor locations. Is there any Apple Event or similar thing that can launch my scripts when I plug in a monitor? Alternatively, are there any utilities that specifically do this? I looked at Breeze, but it saves window state on an app-by-app basis, and doesn't detect monitors being plugged or unplugged.
Duplicate of Reset Mac OS X Windows Position after de-attaching external monitor?
– Dori – 2010-08-01T23:07:31.870Weird... I did ask the same question, but got a much better answer. All the answers to that thread were of the "Here's something you can manually run" variety, not the nicely-automated Marco Polo. Please do merge the answer! – Jay Levitt – 2010-08-08T15:10:27.640