0
如何使用Applescript在iCal中显示特定的重复事件?如何在使用Applescript的iCal中显示特定的重复事件?
我目前使用的代码显示了该事件的第一次出现,不是一个我感兴趣的。
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
感谢您的链接!你有没有使用脚本?我从该行的日期函数中得到一个错误:'return isotToDate(do shell script(“TZ ='”&TZ&“'/ bin/date -r”&eraTime&“+%Y%m%dT%H %M%S“))'。但我想这个脚本不会让iCal显示某些重复的事件。我的意图是在iCal中弹出特定的事件... – b00tsy 2011-04-19 08:23:31
不 - 我在前一段时间发现了该脚本并保留了一个副本,但是我决定仅在Apple更改格式时才解析这些内容。 – Clark 2011-04-19 19:29:40