开发者

Howto show a certain recurring event in iCal with Applescript?

开发者 https://www.devze.com 2023-02-25 14:57 出处:网络
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.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号