Re: applescript-users digest, Vol 2 #1300 - 17 msgs
Re: applescript-users digest, Vol 2 #1300 - 17 msgs
- Subject: Re: applescript-users digest, Vol 2 #1300 - 17 msgs
- From: "Marc K. Myers" <email@hidden>
- Date: Tue, 13 Nov 2001 11:57:03 -0500
- Organization: [very little]
>
Date: Tue, 13 Nov 2001 07:44:20 -0500
>
To: email@hidden
>
From: "Ricardo J. Seijo" <email@hidden>
>
Subject: color changer
>
>
I need a simple script to change the color depth of the monitor
>
when a specific app is launched, then change it back when it is closed. It
>
has to be a script, unfortunately - I can't use any shareware. I don't
>
know enough about the if/then command to hack this one, so any help is
>
greatly appreciated. Thanks in advance.
The "Jon's Commands" scripting addition provides the "set screens to"
command that will change your color depth. What's trickier is getting
your script to run when you launch a particular application. You can
either leave a stay-open script running all the time, checking for the
presence or abscence of your app, or you could write a script that
changes the depth, launches the app, tests for it quitting, changes the
depth back, and then quits itself. There is a "sleep commands"
scripting addition that will test if an app is running or not without
using loops or idle handlers.
Both scripting additions are free for personal use. Jon's Commands
requires a license (cheap!) to ship with commercial or shareware software.
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[11/13/01 11:57:00 AM]