• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: color changer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: Re: Accessing the parent directory...
  • Next by Date: Re: Line count of a referenced text file?
  • Previous by thread: color changer
  • Next by thread: installers
  • Index(es):
    • Date
    • Thread