Change the default length of new iCal events

Jun 10, '09 07:30:00AM

Contributed by: yesiamnhoj

The default new event time in iCal is set to 60 minutes. There is not a interface preference to change the default. Seeing a request the other week on the Apple Forums asking for a way to change this setting, I had then assumed that this behaviour was 'hard wired' into iCal. After reading 'How to find hidden preference settings' just now (thanks Rob) and playing around with the result of the strings command on iCal, I came across the string Default duration in minutes for new event'.

It turns out this sets the default duration of new events in iCal. The defaults command below sets it to 15 minutes. You should quit iCal before running this to see the result. Open Terminal, enter the following and press return:

defaults write com.apple.iCal 'Default duration in minutes for new event' 15

Then open iCal. New events entered by double clicking or pressing Command-N will have the default time of 15 minutes. Obviously, you can set different values. To remove this setting altogether, enter the following in the Terminal and re-start iCal:

defaults delete com.apple.iCal 'Default duration in minutes for new event'

I've not noticed this hidden iCal default mentioned anywhere else.

Comments (6)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20090608153944210