Re: iCal questions...
Re: iCal questions...
- Subject: Re: iCal questions...
- From: Paul Berkowitz <email@hidden>
- Date: Thu, 18 Aug 2005 10:52:47 -0700
- Thread-topic: iCal questions...
Title: Re: iCal questions...
On 8/18/05 9:34 AM, "David Crowe" <email@hidden> wrote:
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.
Instead of that, just
repeat with i from (count every calendar) to 1 by -1
--
Paul Berkowitz
_______________________________________________
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