iCal questions
iCal questions
- Subject: iCal questions
- From: Michelle Steiner <email@hidden>
- Date: Tue, 13 Jan 2009 13:46:34 -0700
1. This works:
tell application "iCal" summary of (events of calendar "home" whose summary is not "Change fetch interval") end tell
Why doesn't this work:
tell application "iCal" set theEvents to (events of calendar "home" whose summary is not "Change fetch interval") summary of theEvents end tell
2. How do I get a list of list pairs of summary and dates?
In other words, what I want is {{summary of event 1, start date of event 1}, {summary of event 2, start date of event 2}}
tell application "iCal" {summary, start date} of (events of calendar "home" whose summary is not "Change fetch interval") end tell
The result is {{summary of event 1, summary of event 2}, {start date of event 1, start date of event 2}}
I can loop through those lists and build the lists I want, but is there any way to get it directly?
-- Michelle
-- "I'll see that when I believe it"
|
_______________________________________________
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