Re: iCal Calendar Colors
Re: iCal Calendar Colors
- Subject: Re: iCal Calendar Colors
- From: Todd Geist <email@hidden>
- Date: Tue, 24 May 2005 09:58:56 -0700
On May 24, 2005, at 9:05 AM, Paul Berkowitz wrote:
So the way to convert AppleScript RGB integers to the type you want
is to
get the square root and round (not divide by 25). And to convert TO
AppleScript type, just square the number.
Thanks Paul!
But that doesn't seem to be consistent with the RGB sliders in the
apple color picker. Or I may be missing some thing.
But if you choose "Red" as the color of an iCal and then do
get color of calendar 1
--> {58853, 5911, 5911}
according to your conversion that should equal {242, 76, 76}
But if you then use the color picker to examine that "red" color you
will see that it returns
{229, 23, 23}
which is the result you obtain when dividing by 257
What am I missing?
Todd
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden