Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Add alerts to all events in certain calendar at once

I have schedule of nba games. There's no alerts in it.

So i want to add "Message with sound 1 day before" to all events in this calendar.

MacBook Pro, OS X Mountain Lion (10.8.2)

Posted on Feb 20, 2013 6:17 AM

Reply
Question marked as Best reply

Posted on Feb 20, 2013 2:41 PM

You could use Applescript to do this. The following script adds a message with sound alarm 24 hours before each event.


Best wishes

John M



-- John Maisey -- www.nhoj.co.uk -- 20 Feb 2013
tell application "Calendar"
  launch
     repeat with myEvent in events of calendar "Celtics Schedule 2012-2013"
        make new sound alarm at end of sound alarms of myEvent with properties {trigger interval:-1440}
     end repeat
end tell
5 replies
Question marked as Best reply

Feb 20, 2013 2:41 PM in response to Uproooar

You could use Applescript to do this. The following script adds a message with sound alarm 24 hours before each event.


Best wishes

John M



-- John Maisey -- www.nhoj.co.uk -- 20 Feb 2013
tell application "Calendar"
  launch
     repeat with myEvent in events of calendar "Celtics Schedule 2012-2013"
        make new sound alarm at end of sound alarms of myEvent with properties {trigger interval:-1440}
     end repeat
end tell

Mar 2, 2013 11:17 AM in response to Uproooar

Hi,


This is the above script with the alarm settingh being removed and making the events all day. I'm not sure if this wiil stick for a subscribed calendar and don't have time to check now.


-- John Maisey -- www.nhoj.co.uk -- 2 March 2013
tell application "Calendar"
  launch
          repeat with myEvent in events of calendar "Celtics Schedule 2012-2013"
                    set allday event of myEvent to true
          end repeat
end tell


John M

Add alerts to all events in certain calendar at once

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.