2010-12-11 63 views

回答

1

使用filter form

tell application "iCal" 
    get every event of calendar cal ¬ 
     where (start date ≤ (current date)) and (end date > (current date)) 
end tell 

注意start dateend date必须(current date)之前来,否则你会得到一个错误。

+0

不应该是≤和≥? – 2010-12-11 17:22:08

+0

@Antal:这取决于。我会用≤和>去。 – outis 2010-12-11 17:30:31