• 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: Q: specifying text in a variable to a color when inserting into Apple's Mail.app?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Q: specifying text in a variable to a color when inserting into Apple's Mail.app?


  • Subject: Re: Q: specifying text in a variable to a color when inserting into Apple's Mail.app?
  • From: Paul Berkowitz <email@hidden>
  • Date: Fri, 14 Feb 2003 18:23:56 -0800

On 2/14/03 1:20 PM, "cricket" <email@hidden> wrote:

> To calculate the RGB values, you could find a color in the Color Panel
> in the RGB sliders section and convert from their 0 - 255 scale to the
> scripting scale of 0 - 65536. Just multiply what the color panel says
> by 65536, then divide by 255.

Alternatively, use the DigitalColor Meter in Applications/Utilities. Set the
popup to RGB As Actual Values 16-bit, find the color you want somewhere on
the screen with your cursor, and press Shift-Command-H to Hold Color. Now
you've got the AppleScript-type RGB on the 0-65535 (not 65536) scale.

There also seems to be a new type in Jaguar DGM - RGB 8-bit - the 0-255
scale.

--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Q: specifying text in a variable to a color when inserting into Apple's Mail.app? (From: cricket <email@hidden>)

  • Prev by Date: Re: posix path conversion
  • Next by Date: Re: Script Printing with MS Word?
  • Previous by thread: Re: Q: specifying text in a variable to a color when inserting into Apple's Mail.app?
  • Next by thread: Can't compile Mail scripts
  • Index(es):
    • Date
    • Thread