|
|
Create a keyboard shortcut for the maximize button
Update: it seems that my solution doesn't work universally. But the UI scripting version doesn't, either. For instance my version completely fails in Calculator, while the original script works. But my script "does something" in iTunes while the UI scripting version produces a scripting error.
Create a keyboard shortcut for the maximize button
Thanks for your help on this Daniel. I tried testing my script on more applications and I realized it doesn't work with Photoshop.
I was trying to alter your script so it would get the name of the front window. I thought that might fix it and make it work with all applications. But I'm having some trouble. Here's what I got:
but it's not working. I don't really understand the set zoomed of window 1 to not (zoomed of window 1) line, but I was thinking maybe saving frontWindow as string or alias, but those didn't work either. Any ideas? Do you think I'm on the right track?
Create a keyboard shortcut for the maximize button
will return the opposite of (zoomed of window 1), so daniel's code just toggles the zoom
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.13 seconds |
|