And*_*ite 5 outlook applescript osx-mavericks
我想确定是否有即将在接下来的五分钟内开始的前景事件。
我有以下脚本:
set now to current date
set end_time to now + (5 * minutes)
tell application "Microsoft Outlook"
set number_of_events to count (every calendar event whose start time is greater than or equal to now and start time is less than end_time)
end tell
Run Code Online (Sandbox Code Playgroud)
它适用于大多数事件,但似乎忽略了重复发生的事件。任何想法如何包括这些?
归档时间: |
|
查看次数: |
870 次 |
最近记录: |