iCal questions...
iCal questions...
- Subject: iCal questions...
- From: David Crowe <email@hidden>
- Date: Thu, 18 Aug 2005 10:34:27 -0600
Title: iCal questions...
John;
Thanks for the revised script. iCal seems to have some bugs
regarding deletion of calendars, but doing it by number seems to
work.
Note that your script has a bug in it. When you delete calendar
'x' the number of calendars is obviously reduced by one. So I had to
decrement x after deleting a calendar. For example, if the 4th, 5th
and 6th calendars are empty, you would actually delete calendar 4
three times! Because when you delete #4, #5 becomes #4, etc.
Regarding accessing an event by id, I understood that this was
faster.
Also, "first event of every calendar whose uid = x"
does not return an empty list when the uid doesn't exist, it
returns {missing value, missing
value, missing value, missing value, missing
value, missing value, missing value}.
Aarghh. You'd think Apple could be more consistent. Testing
for this list will fail if iCal adds another field, for
example.
- David
_______________________________________________
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