Getting recurring event instance for specific day in iCal
Getting recurring event instance for specific day in iCal
- Subject: Getting recurring event instance for specific day in iCal
- From: "Justin Williams" <email@hidden>
- Date: Sat, 7 Jun 2008 20:26:59 -0400
Hi,
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.
tell application "iCal"
activate
tell calendar "Personal"
set theEvent to first event whose summary = "Gym" and start date =
"Saturday, June 7, 2008 9:45AM"
show theEvent
end tell
end tell
Does anyone have any suggestions on why this won't successfully fetch
the specific event (assuming it exists).
Thanks for the help.
-
Justin Williams
http://carpeaqua.com/
-
Check out Today: iCal's new best friend <http://secondgearllc.com/today/>
-
_______________________________________________
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