|
|
A script to resize windows to their vertical maximum
I think this should get the screen size for you:
Unfortunately, I just made the switch to Tiger and so I don't have 10.3 around to find out if this information is also available in the same com.apple.loginwindow domain. -Colin.
A script to resize windows to their vertical maximum
Thanks, that worked in 10.3. Does the script work in Tiger as well?
A script to resize windows to their vertical maximum
I've been using the Spark Daemon for a while to define custom keyboard shortcuts that executes Apple Script on Terminal.app (and any other app) in such a way that Cmd+1 to Cmd+9 switches the current tab to tab N.
Today I wrote the following code to vertically maximize the Terminal:
tell application "Finder"
set _b to bounds of window of desktop
end tell
tell application "Terminal"
tell front window
set {_x, _y, _w, _h} to (get bounds)
set _vz to item 4 of _b
set bounds to {_x, 10, _w, _vz}
end tell
end tell
Works fine on 10.6.
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks 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.28 seconds |
|