Disable ical alarms temporarily (e. g. for 2 hours) by apple script ?

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

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

Similar Messages

  • ICal Alarm Editing Bug: Time off 4 hours, not fixed yet in 10.5.5?

    Hi again all Mac users,
    I have noticed this bug for quite a long while, which I cannot remember from when, but I think it was from around 10.3 or 10.4. I am used to it, and can deal with this since I know it. But, it still seems to persist even after updating to 10.5.5, and I have finally wanted to raise the issue up to this forum, in order to get it fixed, or obtain knowledge on how to fix this in my Mac.
    When you double-click or Command+I an event in iCal, the detail of the event shows up, and you click "Edit" button at the bottom to edit it. Most of my events' "Alarm" are set as "Alarm with Sound". To edit this, you click right next to "Alarm" to bring out the pull-down menu. You can change "Alarm with Sound" to "No Alarm", etc. Also, you will see a list of the latest settings you used at the bottom of this pull-down menu, with date, time and sound, etc. to choose from.
    *My Bug Phenotype:*
    ALL of the listed settings in this pull-down menu are EXACTLY 4 hours (FOUR HOURS) later of what that actually sets and do. For instance, I set a new event at "2008/6/1 10:00, playing Susumi sound". This setting will newly show up in the for-mentioned pull-down menu. But, because of a bug or by an unknown reason, within the list it shows "2008/6/1 14:00, playing Susumi sound", showing the time 4 hours later. Continuously, if you edit another event's alarm setting, and choose the previous setting of erroneous "2008/6/1 14:00, playing Susumi sound" that shows up from the pull-down menu, the event you're editing will actually be set to "2008/6/1 10:00, playing Susumi sound", which is correct with the very original setting I first used, but then again it is 4 hours ahead of what you see in the pull-down list. Once set, all event will show the proper Alarm time set, and work at the correct timing. It seems that there's a bug just in this pull-down menu showing the previous settings, adding and showing 4 hours later to what it should be, but also correctly stores and set the original time.
    Does everybody understand what I tried to explain?
    Does anyone else have the same experience?
    Is this just me?
    Is it always 4 hours?
    Any way to fix this?
    Is this an iCal Bug, to be fixed?
    Thanks for your help in advance!
    Dr.MORO
    PS: Is there a way to directly (Online) way to tell (email, post, etc) this problem to Apple?
    PPS: I have used many different disk maintenance tool of most kinds, both free and commercial, but nothing has helped.
    PPPS?: This is my second post on this iCal issue this year, last time on May 30, 2008, but no one seems to care... Really? No one has the same symptoms? Weird...

    Dr.MORO,
    1. Try refreshing the iCal plist file. Navigate to your Macintosh HD/Users/yourusername/Library/Preferences Folder, and find the com.apple.iCal.plist file. Drag that file to your desktop, log out/in or restart.
    2. What time do you have set in your iCal Time Zone Window?
    3. Have you tried to change your settings in System Preferences...>International>Formats>(Region:) (Dates) (Times)? Customize... Quit iCal before changing these settings, and repeat #1 above before opening iCal.
    4. Do you have a default time checked in iCal>Preferences...>General>Add a default alarm to all new events and invitations?
    5. Do you have "Turn on time zone support" checked in iCal>Preferences>Advanced?
    6. Do you have the proper "Time Zone" selected in System Preferences...>Date & Time?
    7. Are you syncing any of your computers?
    PS: Is there a way to directly (Online) way to tell (email, post, etc) this problem to Apple?
    Only through AppleCare, but your equipment is probably no longer covered. As far as I know you could still use AppleCare but it would cost an arm and a leg for phone support since you no longer have a contract. Do you have an Apple Store or Authorized Apple Provider nearby?
    PPPS?: This is my second post on this iCal issue this year, last time on May 30, 2008, but no one seems to care...
    Since Apple Discussions participation relies entirely upon other users for possible solutions, it is my guess that no one had the same problem or could offer a reasonable solution. Sorry to hear that you did not get a response to your previous post, but I care.
    ;~)

  • ICal alarm shutting me down

    I am pretty sure I will be reinstalling Leopard because of a reoccurring iCal alarm that pops up randomly several times a day. I thought I would check to see if you geniuses had any ideas, The Apple geniuses felt I would be better off starting over.
    If I put the laptop to sleep the alarm always appears when when the computer is re-woken this also happens on restarts. The alarm has no content in the window that appears but it is a complete processor hog, if I walk away from the computer while it has become active it will grind the machine to a complete stop. Activity monitor will show the memory use for the process steadily climbing to over a gig. The only way to close it is to run a script that I have called "kill ical widow" which was created for me by a apple genius. Any ideas?

    Okay, the only fix that eventually came from this, just to wrap things up for educational purposes... I finally had to bring in to a Mac Genius appt., and after keeping my computer for five days, they reinstalled the OS. And to be sure this never happens again, I've also turned off all alarms as suggested. Reinstalling the OS (am now at 10.5.6) has brought a whole other host of problems. They initially returned my laptop with none of my data on it, and I lost all of my additional programs I'd installed on the computer, some of which I don't have authorization codes or discs for anymore. And iTunes has yet to "find" any of my music (or all of my playlists for that matter), despite all the normal fixes. Going back for 3rd Mac Genius appt. today. Very frustrated. But word to the wise: do NOT allow a Mac Genius that may or may not know what they're doing to reinstall your OS without properly backing up your computer. I couldn't back mine up for a while b/c this iCal alarm issue was disabling to the point I could not even open anything on the computer anymore. But please do yourself a favor, and get a back-up and run it ROUTINELY!!!

  • Cal alarms tell me events are an hour later

    my ical alarms tell me events are an hour later than actually put into ical.
    i live +1 hour GMT, but have time zone support on.
    ideas?

    After a good few hours speaking to Tier 2 Applecare, the problem hasn't been fixed. It may be a hardware issue with the iPod or Mac....
    Bearing in mind I live abroad, in a non-English speaking land, using MobileMe.
    Here was their suggestion:
    1 Open iSync - go to Preferences - reset history
    2 Open System Preferences - International - Format - choose your country
    3 Open iCal and check it matches your location, date and time
    4 Still in Sys Prefs, go to MobileMe - Sync and sync now
    *Option two!*
    What I've done is a workaround:
    1 Set Time Zone Support to London on the ipod, in Mail, Contacts & Calendars
    2 In General Date & Time settings it's set for +1GMT, where I live
    - this meant manually resetting the time to be correct
    3 while enabling language/location settings on my Mac
    This means iCal will be in a foreign language on the Mac, which is ok if you speak it.
    Nevertheless, in syncing, it takes a couple of times to match between Mac and iPod.
    If anyone has something better, please let me know.

  • No Alarms Work/ical alarms not firing. I have a solution that worked for me

    If anyone has had a look at this thread and still not found a solution...
    http://discussions.apple.com/thread.jspa?threadID=1215043&start=30&tstart=0
    try this (busycal)...
    http://www.busymac.com/index.html
    I was having serious problems with my iCal alarms. They just weren't firing reliably, and I tried so many things to get it fixed. Nothing worked until I installed busycal. it's perfect! It's been totally rock solid for 20 or so days and I just purchased a full licence. Has very neat features like LAN sharing and google cal syncing. Even if it didn't need these features, I'd still use it because I rely on alarms firing, and busycal does it without issues. Support is also excellent (they email quickly, with accurate/helpful replies, and they've even made suggestions to me about settings I can change to make everything run more smoothly. amazing!) the quality of support, frequent updates and reliable alarms is worth the small registration price along!
    and no, i don't work for them, i'm just a very happy user and hopefully it will help some other frustrated ical users out there!
    alex =)

    try busycal support. they really are excellent and i'm sure they can help u work towards a solution. click "email support" in the busycal help menu.
    alex

  • ICal - alarms for specific days (not dates)

    I am very forgetful, and I often use iCal to make reminders for myself (using the alarm w/ sound). However, I often have weekly reminders at work. For example, I would back up our files at work on Tuesdays and Thursdays. I was wondering if there is a feature in iCal that can set reminders for specific days of the week. Any input is appreciated. Thanks!

    Create an event on tuesday, go to the repeat menu,
    select custom, mark the days you want the event to be
    (tuesday and thursday). Then go to the alarm menu ans
    set the sound you want.
    Note: if you plan to sync to a palm device, the palm
    doesn't accept events that repeat on specific
    (multiple) days of the week, so create two events,
    one that repeats every Tuesday and another for
    Thursday.
    Thank you so much! You solved my problem! -Catherine

  • Strange behavior for iCal alarms

    To run an AppleScript from an iCal alarm you do the following:
    In Automator, create a Calendar Alarm
    Select Utilities from the library pane
    Select & drag Run AppleScript into the workflow area
    Copy/paste an AppleScript into the Run AppleScript box
    Save the newly created Calendar Alarm with name (e.g. ArchNew)
    This will open the Automator Calendar in iCal
    Edit the Date/Time/Repeat/...... as you want as shown in the example below
    The resulting AppleScript will be stored here
    /Users/<user_acct>/Library/Workflows/Applications/Calendar/ArchNew.app
    Now the problem
    If at a later time you want to modify the AppleScript ArchNew.app using the AppleScript Editor, it will break the binding between the iCal alarm and the AppleScript ArchNew.app
    The only way I've been able to do this is delete the file
    /Users/<user_acct>/Library/Workflows/Applications/Calendar/ArchNew.app
    and then go back to #1 above and repeat the whole process with the modified AppleScript.
    Does anyone know why the simple approach of directly editing and saving the changes to the AppleScript ArchNew.app doesn't work?

    You still haven't provided your 4 digit Oracle version or the TABLE and INDEX DDL.
    Your 'problem' could be nothing more than DEFERRED SEGMENT creation where Oracle doesn't allocate space until the first data is added for that segment.
    See 'Understanding Deferred Segment Creation' in the DBA Guide
    http://docs.oracle.com/cd/E11882_01/server.112/e25494/tables002.htm#CHDGJAGB
    >
    Understand Deferred Segment Creation
    Beginning with Oracle Database 11g Release 2, when you create heap-organized tables in a locally managed tablespace, the database defers table segment creation until the first row is inserted.
    In addition, segment creation is deferred for any LOB columns of the table, any indexes created implicitly as part of table creation, and any indexes subsequently explicitly created on the table.
    Note:
    In Release 11.2.0.1, deferred segment creation is not supported for partitioned tables. This restriction is removed in release 11.2.0.2 and later.
    >
    That is why it is MANDATORY that posters provide their 4 digit Oracle versions. There are too many features that depend on the version being used.

  • ICal alarm setting for Discovery TOPGEAR

    Does anyone know if there is a ICal alarm thingy that can remind me about TOPGEAR on DISCOVERY channel.
    It is so freaking amazing totaly out of this world marvelous to see real TV from civilization.
    BOOYAH
    GROOVY
    ICAL or WIDGET will do as well.
    WOW OYEAH if only Apple can come close to TOPGEAR I will sell my sole.
    It is like I had 20 years of sex in 1 sec. by whatching TV tv from CIVILIZATION.

    why don't you make one yourself? Also, probably better if you posted in the iCal part of the discussion boards.

  • TS2446 My account was temporarily disabled. That was supposed to be for 48 hours and turned into weeks. Please reacitvate my Apple ID immediately.

    My password was changed. My Apple ID was supposed to be disabled for 48 hours. The 48 hours has turned into weeks. Please activate my Apple ID immediately.
    Thank you.
    Katrina Walker

    Please be aware that you are not communicating with Apple when you post in these forums. The only people who will reply to your posts are your fellow users. Hence no one here can activate your Apple ID or take any other direct action on your behalf. You will need to contact iTunes Support and ask for assistance.
    Regards.

  • Ical alarm keeps trying to open file from old location

    I have an iCal alarm to open an accounts file each day.
    I moved the file to another folder,
    and selected the new location iniCal.
    It always gives me this:
    Could not open file because 'Old/Path/to/File'  could not be found.
    When I look at the alarm section in the iCal event, there is a list of files.
    When I choose the file (with the same file name) in the NEW folder, this list of files doesnt seem to update.
    Is there of forcing iCal to open my new file path?
    or a way of taking the OLD file out of this list?
    Thank you for your help
    Frazer

    I just found how to removed the old files from my list
    in the terminal I type:
    open library/preferences/com.apple.iCal.plist
    and then delete the entries under PersistentMenu
    Would still love to hear a more user friendly way to do this.
    And a way to just get iCal to open the new file path, or how best to report this bug to apple

  • How prevent iCal ALARM reminders popping up when not wanted?

    Sometimes I don't want to see my alarm box popping up to remind me of things.
    Suddenly, & frequently, the pesky iCal Alarm box pops up in the middle of the screen with another preset alarm reminder, insisting on my immediate attention. Like when I'm watching a video on my mac.
    Then I've got to get up and move it out of the way, but as soon as I touch it, the video which I've set to full screen shrinks to small & I've got to click it to big again. This is just one of the inconveniences.
    Please, how can I set the iCal alarm to give it a rest for a while and save those reminders for later
    I've made lots of iCal alarms to remind me of things throughout the day. so these interruptions are a constant problem.
    Q#2: Why doesn't my ALARM BOX show active the Yellow Button so I could relegate it to the side Dock? Or even the Green Button, so I could enlarge it when I want to see all my open reminders without scrolling?
    Instead, My ical ALARM BOX only has the Red button, which closes it out and loses all those reminders therein until it's their time again.
    Oh, dear, I don't think anybody can solve this problem.
    Or
    can
    you?

    You can look at Adblock Plus: https://addons.mozilla.org/firefox/addon/1865
    You need to subscribe to a ''Filter list'' (e.g. the ''EasyList''): http://adblockplus.org/en/subscriptions
    Adblock Plus forum: https://adblockplus.org/forum/

  • HT2488 How do I create an iCal Alarm to delay send an e-mail in my Drafts folder of Mail?

    I've learned how to use iCal Alarm to schedule sending an e-mail.  However, all of the instructions I read say that I have to type the e-mail inside the automator's "New Mail Message". Is there a way to type the message in Mail, save it in drafts, and then create an iCal Alarm to schedule sending it?
    I got as far as "Get Specified Mail Items" --> "Display Mail Messages".  This sequence displayed a message in Drafts.  What next to get it to send that message it displayed?  I tried adding "Send Outgoing Message" to the sequence with no success.  And I tried adding "New Mail Message" --> "Send Outgoing Message" to the sequence with no success.
    Sometimes there will be several e-mails I want to delay send (some that I started earlier in the day, saved in Drafts and finished up in the wee hours of the morning) and it seems a waste to have to create a new iCal Alarm for each. 
    Thank you!

    I've learned how to use iCal Alarm to schedule sending an e-mail.  However, all of the instructions I read say that I have to type the e-mail inside the automator's "New Mail Message". Is there a way to type the message in Mail, save it in drafts, and then create an iCal Alarm to schedule sending it?
    I got as far as "Get Specified Mail Items" --> "Display Mail Messages".  This sequence displayed a message in Drafts.  What next to get it to send that message it displayed?  I tried adding "Send Outgoing Message" to the sequence with no success.  And I tried adding "New Mail Message" --> "Send Outgoing Message" to the sequence with no success.
    Sometimes there will be several e-mails I want to delay send (some that I started earlier in the day, saved in Drafts and finished up in the wee hours of the morning) and it seems a waste to have to create a new iCal Alarm for each. 
    Thank you!

  • Why are iCal alarms coming up with a black rectangle?

    Why are iCal alarms coming up with a black rectangle? I'm running 10.3.9 and iCal v. 1.5.2. This started after I did software updates this week.
    iMac   Mac OS X (10.3.9)  

    I solved it in my case by going to System Preferences>Internet & Network>QuickTime>Advanced, then clicking the checkbox to Enable Flash. I also had to quit and restart iCal.
    I think the Quicktime715 update that recently came out had something to do with it.
    It seems that the black box is supposed to be a movie of a vibrating alarm clock, and apparently that movie uses Flash.
    I hope this fix works for you too.

  • ICal Alarm on desktop won't go away

    An iCal Alarm notice came up on my desktop. Usually one can cancel or close that notification box. But, this time the notice box will NOT go away. I can't close it, move it, delete it or anything else.
    How can I get it to close - get if off my desktop?? Nothing so far has worked.

    baronpilot,
    Welcome to Apple Discussions.
    Nothing so far has worked.
    Could you clarify your troubleshooting steps...what have you tried so far?
    In the meantime since I do not know what you have tried:
    The first and easiest troubleshooting step involves replacing/refreshing the com.apple.iCal.plist file.
    Quit iCal and find the com.apple.iCal.plist file in your Macintosh HD/Users/yourusername/Library/Preferences Folder. Drag the file to your Desktop, log out/in or restart and check iCal for normal behavior.
    ;~)

  • ICal alarm causes application to close

    When I try to open iCal I immediately have an iCal alarm pop up and the program closes.
    Why is this happening? And more importantly, how can I fix it?
    (I sync iCal with my Moto Q using Mark/Spaces The Missing Sync)

    Hi Fred,
    As we noted in your other post the issue is CR 8.5 is not side by side compatible with any other version of CR. As of Cr 9 we now are, UFL's can be copied into the respective install folders and they'll work together.
    CR UFL's are COM UFL's meaning they get registered. Because they use the standard UFL naming convention Any version of CR will load them, we do this for compatibility so developers don't have to re-write/version their UFL's each time.
    The only way is to NOT install any other version of CR on that 8.5 PC. Or if you can ask the makers of the UFL's convert them to non-COM ( using C++ )  u2l names then simply moving them into their app.exe folder should allow their software to continue working as long as their software is not in the PATH statement.
    The other issue is possibly they did not make the UFL Appartment Model ( thread safe ) but I doubt it would make any difference.
    CR 8.5 simple won't work with another version on the same PC.
    As a final hack work around, create a batch file that will register the UFL and then one that will unregister the UFL when you want to use your software or their software. Also, try moving \windows\crystal into their folders app path but I don't recall if this will work, it's been a long time since we've had to deal with side by side issues of legacy applications like this.
    Good luck
    Don

Maybe you are looking for