|
|
A script to resize windows to their vertical maximum
Because I use a few different external monitors, and sometimes only use my actual MacBook display, I was investigating various ways to query the current display's resolution. But, what I found is that simply setting the resolution to something greater than what you actually have causes the window to have the maximum value regardless of what you set. So, in the script that the OP posted here, I simply set the y resolution to 1200 (the value of my greatest display) and it works regardless of which monitor I am using. In fact, I can drag a window from display to display and run the script and it dynamically changes. Here's the line I changed:
Problems with running this script and a saved terminal
I got the script to work great. I'm using it with terminal.app, and I usually open my terminals with a .term file. This allows me to open a new terminal every time I double-click the .term (or use Quicksilver).
However, after I run this script on a terminal window, I am unable to open any new .term files until I quit Terminal and restart. I am able to open a new terminal with command-n. Any ideas? I'm on 10.4.10. |
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.14 seconds |
|