|
|
A script to resize frontmost two windows to fill screen
I've done a version of the script which will work for any number of windows, ignores invisible windows and windows with no title (adium seems to have a title-less window which one can't see though it's marked as "visible"). You can specify your preference for number of columns (which defaults to 2). If you run it and there's only one window, it'll just make that one window will the screen.
Script source is here
A script to resize frontmost two windows to fill screen
Cool script. One thing wasn't working for me though:
Maybe ceil was a type-o? After some messing around, I figured out it should be changed to this:
I also added a special case if the number of windows is less than the number of columns preference.
So here's the complete script with those changes:
ignore minimized windows and fix the resizing of windows in Finder
I further hacked this script to ignore minimized windows and fix the resizing of windows in Finder due to the weird menubarHeight 44 instead of 22 bug. Here's the updated script:
ignore minimized windows and fix the resizing of windows in Finder
I dont have a /Library/Preferences/com.apple.windowserver file on my machine. What do I do to create one? Are you aware of alternative ways to get the size of the displays? Do they work with two displays? |
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.07 seconds |
|