• 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
Getting recurring event instance for specific day in iCal
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Getting recurring event instance for specific day in iCal
      • From: Ed Stockly <email@hidden>
  • Prev by Date: Re: Scripting Xcode
  • Next by Date: Re: Getting recurring event instance for specific day in iCal
  • Previous by thread: Re: Scripting Xcode
  • Next by thread: Re: Getting recurring event instance for specific day in iCal
  • Index(es):
    • Date
    • Thread