1 2 Previous Next 17 Replies Latest reply: Aug 19, 2012 8:34 AM by RADumas
lucafrombrooklyn Level 1 Level 1 (10 points)

Hello.

 

Every time you add a new event in iCal, the Info panel of the event contains a series of default alerts that you may want to add to it. However, all of them are useless to me (e.g.: "Send email to <my address> 4 days after), so I need to manually edit them event by event. Anybody knows how to change them? I have already inspected all the plist files related to ical, and looked inside the ical package content, but I found no indication of where to change these values. Using iCal version 5.0.2

 

Thanks,

l


Mac OS X (10.7)
  • 1. Re: How to change default alerts in iCal?
    Tgara Level 4 Level 4 (3,540 points)

    Preference/General.... unclick (or change) "Add a default alert...."

  • 2. Re: How to change default alerts in iCal?
    lucafrombrooklyn Level 1 Level 1 (10 points)

    Thank you for your suggestion Tgara, but this is not the issue. I don't want to add a default alert to every new event (the preference in "Add a default alert to all new timed events and invitations", as you suggest). Rather, I want to change the default values of the "alert" option in the "Info" window associated to the events -- the values that you are proposed by default when you want to add an alert to a single event.

     

    Any suggestion?

     

    l.

  • 3. Re: How to change default alerts in iCal?
    Marc Hildebrand Level 1 Level 1 (5 points)

    I can't figure out how to change this either, and it is very annoying to have 2 or 3 alerts defaulted to on for every calendar event I make... I don't think iCal has the functionality to change this, but I completely support any enahancement requests you might make to add such basic functionality!

     

    Marc

  • 4. Re: How to change default alerts in iCal?
    John Maisey Level 5 Level 5 (6,880 points)

    Hi Luca,

     

    The settings for alarms default to 15 mins before for timed events and at 8AM on the day for all day events.

     

    If you set another trigger time for one of the alarms the additional default alarm is stored in the User's com.apple.iCal.plist file under the key PersistentMenu-lastUsedAlarms

     

    If you want to remove all the customised alarm times you have created then quit iCal, open Terminal paste the single line below into the front terminal window and press Return.

     

    defaults delete com.apple.ical PersistentMenu-lastUsedAlarms
    

     

    Alternatively if you are you are happy manually editing the plist you'll find it there. Possibly not for the faint of heart.

     

    Best wishes

    John M

  • 5. Re: How to change default alerts in iCal?
    John Maisey Level 5 Level 5 (6,880 points)

    Hi Marc,

     

    I believe your issue is different from Luca's.

     

    Do you have a default alarm set in iCal's Preferences > General Tab?

    Are you syncing via iCloud (if so look here)?

    Are you syncing to Google Calendar (if so look here)?

    Are you syncing elsewhere?

     

    Best wishes

    John M

  • 6. Re: How to change default alerts in iCal?
    lucafrombrooklyn Level 1 Level 1 (10 points)

    John: Thank you, this is exactly what I wanted. I was indeed inspecting the plist with bbedit, but what I did not realize is that the file has some parts which are binary, so I could not see the PersistentMenu-lastUsedAlarms part by using a text editor. I opened it with Xcode and I did find what you were saying, and erased all the junk that was in there. In fact, the issue I had was also described here:

     

    http://newsgroups.derkeiler.com/Archive/Uk/uk.comp.sys.mac/2010-06/msg02349.html

     

    For some reason, it looks like after some upgrade the program adds were some positive values in the plist and I was stuck with default alarms that were set *after* the events I wanted to set an alarm for.

     

    I did what you suggested, then added by hand new values to the PersistentMenu part of the plist, and I am now happy.

     

    For everybody's information, to know what I did, it is enough to know to add Dictionary items to the  PersistentMenu-lastUsedAlarms, with 3 fields:

     

    -- AlarmTypeKey (this determines if you want a sound, or else an email, or else the other default alarm type keys. For example, sending an email is a Number, value 4; having a message with sound is a Number, value 3)

     

    -- AlarmDurationKey: This is a Number, in seconds, that determines when you want your alarm to trigger. E.g: -172800 will be two days before. Must be negative for "before", of course)

     

    -- AlarmParameterKey: This is a String, where you store the value that you want the alarm to have. For example, if you want an email to be sent, the AlarmTypeKey will be 4, as explained above, and this field will contain your email address. Instead, if you want the alarm to be a sound, the AlarmTypeKey will be 3 and this field will have the name of the sound you want (e.g., Basso).

     

    That's it. Thanks a lot for the solution!

     

    l.

  • 7. Re: How to change default alerts in iCal?
    Marc Hildebrand Level 1 Level 1 (5 points)

    Thanks John, changing the settings in gcal did the trick.

     

    Appreciated.

     

    M

  • 8. Re: How to change default alerts in iCal?
    John Maisey Level 5 Level 5 (6,880 points)

    Hi Luca,

     

    I'm glad it helped.

     

    John M

  • 9. Re: How to change default alerts in iCal?
    John Maisey Level 5 Level 5 (6,880 points)

    Hi Marc,

     

    I'm glad you fixed it now.

     

    John M

  • 10. Re: How to change default alerts in iCal?
    OrlickG Level 1 Level 1 (0 points)

    John,

     

    Thanks so much, I have had this issue and been trying forever to fix it. Thanks again.

  • 11. Re: How to change default alerts in iCal?
    Robert Easthope Level 1 Level 1 (5 points)

    I tried pasting   defaults delete com.apple.ical PersistentMenu-lastUsedAlarms  and got the following message:    

     

    Domain (com.apple.ical) not found.

    Defaults have not been changed.

     

    Did I do something wrong.

     

    Bob

  • 12. Re: How to change default alerts in iCal?
    bpaver Level 1 Level 1 (0 points)

    Bob,

     

    Are you running Mountain Lion? I understand that the iCal plist file no longer exists or, if it does, it's in another location.

     

    When I ran the "defaults delete" on my MBP running Lion, it worked just fine and solved one of my problems to boot.

     

    If not on Mountain Lion, substitute "read" for "delete" and see if you get something other than an error message. However, I don't think that "read" will work given the error message you saw.

     

    Search the iCal forum for "iCal plist" or similar.

     

    Bob

  • 13. Re: How to change default alerts in iCal?
    Welkin Software Level 1 Level 1 (0 points)

    How to remove alarms in iCal which are automatically set upon creating an event in the default calendar? The annoyance is that these are not the defaults you would choose.

     

    My experience was with OS X 10.8 (Mountain Lion).

     

    These alarms are automatically included in a "New Event" in the default calendar. The "Default Calendar" is set in iCal preferences under the General menu.

     

    Select the "Alarms" tab in the iCal preferences. If you wish no automatic alarms, select "None" for all three options. The other options are self explanatory.

     

    The only difficulty in solving the "default alarms" problem is finding and understanding this window. The Default Calendar should be displayed on the "Alarms" tab to avoid confusion. Avoid plists!

  • 14. Re: How to change default alerts in iCal?
    Sterdog Level 1 Level 1 (0 points)

    thanks man!! just what I was looking for!

1 2 Previous Next