Running 10.8 Mountain Lion, Applescript로 다음과 같이 새로운 이벤트를 만들려고합니다.
set theDate to (current date)
tell application "Calendar"
tell calendar "Calendar"
set timeString to time string of theDate
set newEvent to make new event at end with properties {description:"Last Backup", summary:"Last Backup " & timeString, location:"To a local unix system", start date:theDate, end date:theDate + 15 * minutes, allday event:false, status:confirmed}
tell newEvent
delete every display alarm
delete every sound alarm
delete every mail alarm
delete every open file alarm
end tell
end tell
end tell
그러나 캘린더 환경 설정을 통해 설정할 수있는 기본 캘린더 경고는 제거되지 않습니다 (내 경우 30 분 전에).
Applescript를 통해 전혀 알람이없는 이벤트를 어떻게 만듭니 까?