Re: Getting recurring event instance for specific day in iCal
Re: Getting recurring event instance for specific day in iCal
- Subject: Re: Getting recurring event instance for specific day in iCal
- From: John Maisey <email@hidden>
- Date: Sun, 8 Jun 2008 09:37:07 +0100
I'm trying to script iCal to show an event by passing the UID.
Unfortunately, it seems that only passing the UID to a recurring event
will retrieve the original event.
Because of this, I am trying to shift to passing the summary and start
date since it's a bit more readable in the code. I've been
unsuccessful in getting this to work successfully.
Does anyone have any suggestions on why this won't successfully fetch
the specific event (assuming it exists).
Aside from the issues with the 'whose' clause that Ed Stocky mentions.
When you refer to the 'start date' property of a recurring event it is
the start date of the first instance. To find the start date in later
occurrences of the event is more difficult. The only way using
Applescript to do this would be to calculate when the recurrences
occur from the 'recurrence' property of the event, then compare this
to your target date range.
John Maisey
www.nhoj.co.uk
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden