Re: iCal Mystery -- description of calendar when description is missing value
Re: iCal Mystery -- description of calendar when description is missing value
- Subject: Re: iCal Mystery -- description of calendar when description is missing value
- From: David Crowe <email@hidden>
- Date: Wed, 8 Feb 2006 09:04:05 -0700
Title: Re: iCal Mystery -- description of calendar when
descripti
Paul;
I disagree with your assessment. If I use the code...
tell application "iCal"
tell
calendar
"CDG"
{name, title,
description}
end tell
end
tell
--> {"CDG",
"CDG", "CDMA Development Group"}
The name and title return the same thing, which is the short name
shown in the iCal calendar window.
The description returns the text that is shown in smaller type in
the "Info" window when you have a calendar selected, rather
than an individual event.
In the iCal dictionary (on 10.4.4) the description field is
listed and it says "This is the calendar description" (which
isn't terribly helpful, but it appears to be a legitimate
field).
- David Crowe
At 12:34 AM -0800 2/8/06, Paul Berkowitz wrote:
Actually, 'description' property of a
calendar has nothing to do with the
name. Back in Panther it would give you the immense file content of
the
calendar - the whole thing, every event included in iCal format, if
I
remember correctly (and so rather useless). Calendars are stored
differently
in Tiger, so you get nothing. Supposing you actually wanted that
complete
file content, that would be a bug. probably it should just be
removed from
the dictionary.
To get the name of the calendar, ask for 'name', not 'description'.
Or
'title', which is what it was called on Panther - that still works in
Tiger
though not in the dictionary.
_______________________________________________
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