• 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 questions...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >iCal questions... (From: David Crowe <email@hidden>)

  • Prev by Date: Re: BBedit bring document to front
  • Next by Date: Re:[OT] Vote!
  • Previous by thread: iCal questions...
  • Next by thread: Re: iCal questions...
  • Index(es):
    • Date
    • Thread