Thursday, December 3, 2009

Launching applications in OS-X "minified"

Santa recently got a hackintosh for a certain nice little girl. To fit
photobooth on the screen, he had to use an (apple) script like:

do shell script "defaults write -g AppleDisplayScaleFactor 0.8"
tell application "Photo Booth" to launch
do shell script "defaults write -g AppleDisplayScaleFactor 1"

Handy ! launches the app at 80% size (need to reset the scale after it
is launched).

Posted via email from Michael's posterous