Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.7: Applescript to escape Zoomed In screen System 10.7
I was trying to get full screen zoom to work in Lion (don't know why it doesn't) and I read a hint that told me to go to System Preferences » Universal Access and turn the 'Zoom in window' checkbox on and back off again. It worked fine for me but when my friend did it he got stuck zoomed into the middle of his screen.

After many unsuccessful attempts to escape, including remote screen sharing, shortcut keys to disable screen sharing (which again I don't know why they don't work in Lion) we succeeded with this plan and this might help you if all else fails. I don't know if rebooting would help, he didn't want to risk losing his code so it was only last resort.
  • On another Mac I wrote and tested an AppleScript. I saved it as plain text and made it executable using chmod 0755 on the file.
  • We ssh'd it to his computer so he could execute it.
  • He started Terminal using Spotlight.
  • He pressed Command+N several times until a Terminal window cascaded itself into view.
  • He ran the script file and presto, it worked.
I hope you don't have to do this, but at least it gave some practice in User Interface Scripting. Here's the script:
#!/usr/bin/osascript

tell application "System Events" to set frontmost of process "System Preferences" to true
tell application "System Events"
  tell process "System Preferences"
    tell radio group 3 of tab group 1 of window 1
      tell radio button 2
        click
      end tell
    end tell
  end tell
end tell

[crarko adds: Nothing really earthshaking here, but I'm a soft touch for persistence and creativity in problem solving.]
    •    
  • Currently 3.17 / 5
  You rated: 3 / 5 (6 votes cast)
 
[4,588 views]  

10.7: Applescript to escape Zoomed In screen | 5 comments | Create New Account
Click here to return to the '10.7: Applescript to escape Zoomed In screen' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.7: Applescript to escape Zoomed In screen
Authored by: Unsoluble on Dec 08, '11 09:38:52AM
Just to clarify, it is not the case that screen zooming simply does not work in Lion, as implied in the hint. Some people have been having issues with it, sure, but it most definitely does work as designed on the 50 or so Lion machines I maintain. That said, it's great to have a method to fix it if it goes awry!

[ Reply to This | # ]
Thank you...
Authored by: slb on Dec 12, '11 09:05:21AM

This happened to me, and I'm no Mac nOOb. Took me a long time to get it back to normal. Drove me nuts.
Only seen it once on one Mac, but I was offline for over an hour trying to get it fixed. I don't even remember what I finally did to get back to normal.



[ Reply to This | # ]
10.7: Applescript to escape Zoomed In screen
Authored by: jaigieese on Dec 13, '11 12:18:23PM

TRy using 'Command zero". The screen should go back to normal view.



[ Reply to This | # ]
10.7: Applescript to escape Zoomed In screen
Authored by: jdiaz11 on Dec 13, '11 07:26:40PM

Really? Because it has happened on mine and 3 friends machines as well. Thanks for the tip!



[ Reply to This | # ]
10.7: Applescript to escape Zoomed In screen
Authored by: jdiaz11 on Dec 13, '11 07:31:33PM

If you have the Mac controlling app Splashtop Remote, it automatically resets the screen res to best fit the iPad or iPhone, thus taking it out of zoom. I'm not sure if that also works with Screens, iTeleport or LogMeIn as well but it does work with Splashtop.



[ Reply to This | # ]