Howto show a certain recurring event in iCal with Applescript?
How can I show a certain recurring event in iCal with Applescript?
The code I use currently shows the 开发者_如何学JAVAfirst occurrence of that event, not the one I'm interested in.
tell application "iCal"
tell calendar CALENDAR_NAME
set theEvent to first event whose uid = SOME_UID
end tell
if theEvent is not null then
show theEvent
end if
end tell
It's complicated. Look at this samplescript from MacScripter. It's a pretty impressive script.
http://macscripter.net/viewtopic.php?id=29516
精彩评论