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

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

  • Follow-Ups:
    • Re: iCal questions...
      • From: John M <email@hidden>
    • Re: iCal questions...
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Finder f*ck-ups
  • Next by Date: Re: [OT] Vote!
  • Previous by thread: Re: Finder f*ck-ups
  • Next by thread: Re: iCal questions...
  • Index(es):
    • Date
    • Thread