Cynosure.X International LLC

: :

Add Comment | Related Links | TrackBack
Related Content

Toggle Mirror Displays (GPL)

I got myself into a bind recently when I plugged a second display into my Mac laptop and then clicked on "Mirror Displays". Both displays ended up garbled with vertical lines that run up and down. Without mirroring, the two displays work just fine. And the laptop display works fine if I disconnect the external monitor. So I lived without an external monitor for a few days.

Finally, I was tired of the single display on the notebook computer and decided to fix the problem with an AppleScript. The resulting AppleScript worked beautifully and brought my two displays back under control.

I have attached it below, in case you get into the same situation. Before you run it, you need to turn on "Enable access for assistive devices". You can turn this feature on in "System Preferences" -> "Universal Access".

Once you have that feature enabled, load up the "Toggle Mirror Displays.scpt" in script editor. You can do that by double-clicking on the script. Next, plug in your second display. Wait till your displays are garbled. Then hit Command-R to run the script (without being able see anything sensible). After a few seconds, the script should have turned off the mirror displays function and both of your displays should return to normal.

Attached File: Toggle Mirror (4 KB)

Chieh Cheng
Mon, 27 Jul 2009 19:42:39 +0000

"Toggle Mirror Displays.scpt" is distributed as executable source code under the GNU General Public License. Please see the license agreement elsewhere on this site.

Chieh Cheng
Mon, 30 Nov 2009 04:00:35 +0000

Add Comment | Related Links | TrackBack
Related Content

Did your message disappear? Read the Forums FAQ.


TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.

Send Ping | TrackBack URL | Spam Control

Title: Changing the Screen Resolution of External Monitor When It is Not Visible
Weblog: GearHack
Excerpt: I like connecting an external monitor to my Mac OS X laptop computer. It give me a much bigger screen space to move my applications around. Today, I plugged an old Sony CPD-G500 CRT monitor into it, so that I can watch a Hulu movie while working in the garage. Mac OS X detected it alright, but nothi . . .
Tracked: Wed, 29 Jul 2009 06:48:11 +0000

Add Comment

Spam Control | * indicates required field
Your Name: *
Remember Me!
Comment: *
File attachment is optional. Please do not attach a file to your submission unless it is relevent.
Attach File:
(20 MB Max)
Spam Protection: * Answer of 4 + 10?
Click button only once, please!

Messages, files, and images copyright by respective owners.

Products | Services
Forums | Latest | RSS
Library | Search | Wiki
Help | Licenses

Login | Register

23 Users Online

Hacking Digital Cameras
Fun for Photographers

Amazon Associate

Copyright © 1996 - 2022. All Rights Reserved.