|
|
Create a keyboard shortcut for the maximize button
OK - I've taken the opposite tack of my previous script. By the way - I noticed that using the keyboard shortcut "opt-Z" messes up some apps - iTunes in particular, since it behaves differently when the option key is held down while zooming!
This script will try 3 methods of zooming, in the following order: 1. Zoom by directly changing the "zoomed" attribute on the window. 2. Zoom by selecting a Zoom menu item from the Window menu. 3. Zoom by clicking the zoom button on the window. This should make a pretty compatible script which zooms in the quickest way possible (direct attribute) when possible, and otherwise resorts to UI scripting methods. I also include a section at the top to add special cases for particular apps. In particular, iTunes doesn't seem to respond well to the direct attribute setting, so I override it. Kind of overkill, but it is handy to have something that "almost always works."
---
Create a keyboard shortcut for the maximize button
you can use an applescript for this in iKey. but in iKey it is easier to use the command designed just for zooming. |
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.14 seconds |
|