Re: Q: specifying text in a variable to a color when inserting into Apple's Mail.app?
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.