Re: color changer
Re: color changer
- Subject: Re: color changer
- From: Bryan <email@hidden>
- Date: Tue, 13 Nov 2001 14:33:14 -0500
- Organization: Apex Radiology
If you just want to change the bit depth, you can do that in the system;
but if you want to switch from gray scale to color, you need a third party
addition.
You said shareware; if that doesn't include third party freeware,
then the following will work on OS 9.2.1:
-----------------------------------------------------------------------------------
--This script toggles color to gray scale or gray scale to color every time it
is run.
repeat with thecurrent from 1 to number of monitors
if (color of (depth of monitor thecurrent)) then
set depth of monitor thecurrent to 8 bit gray scale
else
set depth of monitor thecurrent to (max monitor depth) bit colour
end if
end repeat
display dialog "New Monitor Setting:
" & (MakeValueText (depth of monitor thecurrent)) <option-L>
buttons {"Thanks"} default button "Thanks"
-----------------------------------------------------------------------------------
required (freeware) OSAXen:
GTQ Library 1.2.1
MakeValueText (Steve LoBasso)
both available at:
http://www.osaxen.com/index.php?id=make_value
Bryan Kaufman
"Ricardo J. Seijo" wrote:
>
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.
>
>
- R
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
[demime 0.98b removed an attachment of type text/x-vcard which had a name of bryan.vcf]
References: | |
| >color changer (From: "Ricardo J. Seijo" <email@hidden>) |