4 Replies Latest reply: Jan 25, 2012 12:57 PM by dyllio
beckmart Level 1 Level 1
Hi,

I'm searching for a way to disable the ical alarm pop-ups temporarily (e. g. for 2 hours).

Is there a way to do that?

Why?
For people giving presentations with MS PowerPoint or Keynote it might be a problem if during the talk a window pops open - maybe even with private content..

I know that there is the option in the preferences, but once I used it I forgot to re-activate the alarms, so it would be better to define for how long the alarms will be disabled before.

Does anyone know how to do that?
If there's no complete solution, it would at least be interesting to know how to access this option by AppleScript.

Martin

MacBook 13" 2,16 GHz, 3 GB RAM, Mac OS X (10.6.5)
  • stweeks Level 1 Level 1

    I had the same question as you. The best way I found was to incorporate the applescript found here (http://macscripter.net/viewtopic.php?id=30031) into an automator workflow.

     

    Hope it helps.

  • dyllio Level 2 Level 2

    Were you able to get this worked out.  The script that was suggested was referring to an older version of iCal and I can't seem to get it to work in the newer iCal where the checkbox is for "turn off all alarms".  I changed the settings thinking that I could make it move to the correct checkbox but for some reason, it jumps over that checkbox.  Any advice is welcome.

  • stweeks Level 1 Level 1

    My iCal is up to date in OSX Lion and the script below is working for me. It doesn't actually take time into account, like beckmart had wanted and I'm not very applescript savvy so I just put it into an automator workflow using the script twice with a "pause" in between.

     

    tell application "iCal" to activate

     

    tell application "System Events" to tell process "iCal"

              click menu item 3 of menu 1 of menu bar item 2 of menu bar 1

     

              click button 3 of tool bar 1 of window 1

     

              click checkbox 1 of window 1

     

              click menu item 10 of menu 1 of menu bar item 3 of menu bar 1

    end tell

     

    tell application "iCal" to quit

  • dyllio Level 2 Level 2

    Thanks.  I was assuming that because the checkbox was the 6th down, that it would be the 6th checkbox.  Who knew it was checkbox 1?