|
|
Create a keyboard shortcut for the maximize button
Nice! I liked the idea so much, I immediately installed it (works great with FastScripts, too). I was able to simplify the script quite a bit and remove the dependency on UI Scripting:
Hope this helps! ---
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
Create a keyboard shortcut for the maximize button
I recently did this by making a keyboard shortcut (cmd-opt-Z) to select the menu item zoom. Works in all apps I have tested this far.
Problem with this idea is
that it zooms ALL windows of a group instead of just the frontmost one. I don't know why, because Minimize works only on the frontmost one. Perhaps a bug? |
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.09 seconds |
|