Re: iCal questions...
Re: iCal questions...
- Subject: Re: iCal questions...
- From: John M <email@hidden>
- Date: Thu, 18 Aug 2005 22:14:15 +0100
Hi David,
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.
Sorry, I didn't pick the subsequent calendar fault in my script. I'm glad you did.
Regarding accessing an event by id, I understood that this was faster.
If I'm right, iCal events in the dictionary don't have id's they have uid's. 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}.
These things are sent to try us. Best wishes
John M |
_______________________________________________
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