• 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: iCal Calendar Colors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: iCal Calendar Colors
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: iCal Calendar Colors (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Adding Printers
  • Next by Date: Re: Folder actions steal UI foces
  • Previous by thread: Re: iCal Calendar Colors
  • Next by thread: Re: iCal Calendar Colors
  • Index(es):
    • Date
    • Thread