Mac GeekeryGet your geek on. |
|
blog advertising is good for you
recent popular content
User login
|
schwankl asks: QuestionWhat syntax would I use to change the color depth of the display/monitor either in an Applescript on OS 10.4 OR via command line (defaults write maybe) ? AnswerYou don’t, really. I mean, in as far as what Apple’s provided to you, you don’t. However, that hasn’t stopped the crafty AppleScript/CLI crowd from doing silly things to get it done. According to Mac Scripter, there’s a set of AppleScript commands for Mac OS 9 called Jon’s Commands that lets you perform this task in AppleScript. Good news for the two of you reading that are using Mac OS 9, I’d say. For the rest of you, they link to a nifty tool to do this on the command line. However, the author of the tool has disappeared. Some folks have kept the binary around (it’s freeware) and are hosting it themselves. Using said tool, just issue something like: ./cscreen -x 1024 -y 768
About Adam Knight
Author Biography Adam Knight is one of the founders of Mac Geekery and is a geek at heart. Programmer by day, hacker by night, his daily life revolves around the Macintosh platform, which he has been a user and programmer for since the early days of System 7 when his LCII replaced his Apple //c. In-between tech jobs, he’s managed to learn the basics of any web hacker: PHP, MySQL, Perl, Apache, Linux, *BSD, and the intricacies of ./configure —prefix=~/bombshelter/. Today, codepoet is concentrating on blogging again, writing some software for the Mac by himself (including Notae) and for his company (such as Switchblade) and has a few other toys coming out soon. Bug him over AIM or email [link fixed]. |
All,
I have just released a freeware command line tool which enables you to view and change screen resolution. Its copyright to my company but free to download and use. Download link at:
www.mowlem-enterprises.co.uk
Feedback welcomed.
Thanks.
Tim
Another one called displayutil can be found at the following address:
http://www.codecrazy.net/software/displayutil.html