Batch editing of iCal events

Hello, does anyone know how to batch edit multiple events in iCal?
Here is my senario. I have a new phone that I can sync with iCal but it does not understand all-day events. All other events sync without any issues. No problem, I will just change all-day events to a specific time. But the problem is that I have several calendars with a lot of reoccuring all-day events.
How can I change all of these to say midnight or two am or whatever? I looked through the stock and 3rd party automator actions but they pretty much just have searching, filtering or deleting, no batch editing.
Anyone have any applescripts that can do this?
Thanks!

Try this. Note IT HAS NOT BEEN TESTED so backup your calendars first. I think just changing from all day will give the events a start time, but if not you will need to set the start time as well.
AK
click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">tell application "iCal"
set TheEvents to every event of every calendar where (allday event of it is true) and (recurrence of it is not "")
repeat with ThisEventList in TheEvents
if ThisEventList is not missing value then
repeat with ThisEvent in ThisEventList
set allday event of ThisEvent to false
end repeat
end if
end repeat
end tell</pre>

Similar Messages

  • Why can't I edit an iCal event on my iPod

    Why can't I edit an iCal event on my iPod?  I entered it on my iMac desktop machine, but when I try to edit it on my iPod no edit button appears. 

    What is the source of the videos?
    The 2G can only play/sync SD. videos.
    See:
    Why can't I transfer videos to my iPod?
    Frequently asked questions about viewing and syncing video with iTunes and iPod

  • Delete or Edit an iCal event on my iPad

    Hi,
    Is this possible? I don't seem to have an Edit option on the Event(s) just a Details option.
    Thanks,
    Nicola

    I am having the same problem. I can create personal events on ical on my macbook but I cannot edit them from my ipod touch. I've been using ical on my macbook and ipod touch for years so it's not that I simply do not know where the edit button is. It shows me the details but there is no edit button. I can onyl edit events i create on my ipod. Also, when I do create events on my ipod, the editing page shows me event name/location, start/end, repeat, alert, URL, notes, and that is it. I cannot choose which of my calendars I want to put it in, which is extremely frustrating because right now they are all going into my personally created "birthdays" calendar. I can edit these from my macbook but not being able to edit them on my ipod is a big problem.
    Help?

  • I can no longer EDIT nor VIEW events created in iCal...

    I have a problem with my iCal in that I can longer edit nor view events.
    I can create events, but only the first line of the details for a new event. I am not able to edit or add more info in any way after that (date, time, details, etc.)
    I can delete the event though.
    When I say I cannot edit nor view events, this problem occurs when double-clicking, when right/CMD-clicking, choosing the relevant command from the menu, or when typing the keyboard shortcut of either CMD-i or CMD-e.
    Nothing works. Nothing happens. It's as if I have chosen to do nothing at all.
    I have an iPhone which I use to sync events between my Mac and my iPhone, but without being able to properly create an event on my Mac with a chosen time and alarm, etc. iCal on my Mac is almost useless. All my events now have to be created on my iPhone - even when I am sitting right in front of my Mac.
    The only use my Mac's iCal is to me now is for pop-up reminders after an event from my iPhone has been synced to my Mac.
    The problem I am having with iCal is happening with all the calendars I have set up.
    I have no online subscriptions, everything's local.
    I have my iPhone set to auto-sync with my Mac for all data.
    I am running the latest versions of iCal, the Mac OS (Leopard), the latest iPhone OS, etc.
    I tried deleting all my iCal preferences from the ~username/Library/Preferences, but that didn't work.
    I tried deleting all my calendars from within iCal in case there was a corrupt calendar, but that didn't work.
    I trashed everything I could find that had anything to do with iCal (knowing I could restore from a recent Time-Machine backup), but still nothing worked.
    Even when I had an empty iCal to work with, creating a test new-event revealed the same problems of not being able to edit the event after the first line.
    I have since restored all my data from the backup I did the other day, so I am back to square one - not that anything I tried before this actually moved me off square one in any way...
    Can anyone help me here? It's getting really frustrating having to type all my events out on the iPhone screen, especially when I'm sitting at my computer.

    Similar problem here. My Ical refuses to edit or delete events. Viewing is possible, though sometimes the whole screen turns grey. Adding new events from mail is still possible. The task-pane completely disappeared. My local apple technic-centre messed about with disk utility for a bit and than told me to reinstall leopard. I could of course do that, but it seems to me that reinstalling Leopard just to fix iCal events is a bit invasive.
    I tried also tried removing everything, installing a new copy of iCal from the leopard-cd, software updates, all to no avail.
    At the moment I'm open to all suggestions that do not include a complete leopard reinstall.

  • Cannot see or edit time of events in iCal

    I cannot see or edit times in iCal any longer, only dates. This affects only one user, so I guess that there is a corrupted user-specific resource file somewhere that I could try renaming/deleting. Does anyone have any ideas?
    I believe that this condition was triggered by creating an iCal event from Mail.
    More details and a screenshot at http://forums.macrumors.com/showpost.php?p=8110912&postcount=10
    Thanks for any hints/suggestions.

    Eventually found in System Preferences -> International -> Formats that my region was set to "Custom". I have no idea how this happened - I certainly never set this directly through system preferences.
    I selected "United Kingdom" as my region, and the times showed up in iCal once again.

  • Can't edit iCal events like before installing Snow Leopard.

    When creating a New Event or trying to Edit an existing Event the title field isn't editable like before I installed Snow Leopard. If I try to click on the header field to edit it, the whole event box turns into a window with red & green buttons at the top and I STILL can't edit the title area! This doesn't make sense! Did something go wrong installing Snow Leopard? I've reinstalled it twice and still the same behavior. This can't be the way things are supposed to work editing events in iCal. I can edit the location and all the other fields in the event panel, but NOT the title. The only way I can try to edit the event title is by hitting the enter key and try to add characters before it switches to an un-editable field again.

    Perhaps you've just updated your OS and now have the newer version of iCal which is ***** compared to the faster, more elegant older version. The older iCal presented every event's details in a ready to edit format just by clicking on the item in the calendar.
    Now you have to double click that item you're interested in (one two) to get a window that shows you the item's details. Then, to edit, you must click the 'edit' button (three) upon which another editable window will allow your event details to be edited. Finally, after finishing your edits, you must click 'done' (four). Yes, that's right, 4 clicks to do what used to require only the initial click to specify which event you wanted to edit.
    Four times as many clicks for a utility application that has no further improvements, only this annoying change from what was once a very efficient tool.
    I do hope a future "update" will bring back the elegance of the older version with some true improvements.

  • What determines if an iCal event on CalDAV calendar is editable?

    We are using iCal3 to link to a CalDAV calendar store. This allows us to also access the calendar store from other things - such as web based calendar interface and other CalDAV aware calendars.
    We've found that events created or edited in other applications / via the web are not always editable when viewed in iCal3. Rather than seeing the 'edit' and 'done' buttons on the Get Info screen, they just show 'Done'. The event remains editable in the other applications / via the web.
    Presumably the event is missing some XML tag to say that it can be edited. Any idea what it is? Any idea what can be done to tell iCal to edit these events? Right now all it is doing is encouraging us to use the other applications for our Calendar access in preference to iCal...
    Thanks in advance for any insights etc.

    Surprise Surprise!
    I realized after heavy testing, that a DTSTAMP: is not needed.
    But there is apparently a problem with the DATE-TIME format: Perhaps for other readers, which are in such a desparate situation, as I am since two days now!!! here some explanations:
    The reference about iCal format you find in RFC 5546
    DTSTART; and DTEND; have a time string like follows:
    yyyymmddThhmmss
    In the middle the big letter "T". But you have to add the time zone: for me it is the following:
    DTSTART;TZID=Europe/Berlin:20120608T062500
    Now the big surprise: this time format with an hour over 12 ooops! I tested now once again like follows
    DTEND;TZID=Europe/Berlin:20120608T212500
    DTSTART;TZID=Europe/Berlin:20120608T202500
    changing the hh (hours) with one hour difference up until here. 10 Minutes again, iCal was freezing with hours over 19. I swear!
    Ok to answer my original question: What is the minimal format of an iCal event, which you may attach to an email:
    BEGIN:VCALENDAR
    BEGIN:VEVENT
    DTEND;TZID=Europe/Berlin:20120608T212500
    SUMMARY:Name
    DTSTART;TZID=Europe/Berlin:20120608T202500
    LOCATION:MUC
    SEQUENCE:0
    BEGIN:VALARM
    TRIGGER:-PT1H
    DESCRIPTION:Event reminder
    ACTION:DISPLAY
    END:VALARM
    END:VEVENT
    END:VCALENDAR
    But be aware, that this is buggy. Be carefull and have a nice evening
    marek

  • Lion 10.7.2 On both mac book pro and iMac, both with Lion 10.7.2, obtain repeated iCal event notifications from calendar or address book.  Cannot turn these off.  They repeat several times per session and every time computer is used.  How to diagnose this

    Lion 10.7.2 On both mac book pro and iMac, both with Lion 10.7.2, obtain repeated iCal event notifications from calendar or address book.  Cannot turn these off.  They repeat several times per session and every time computer is used.  How to diagnose this?

    First, uninstall "SuperTV" (whatever that is) according to the developer's instructions. It isn't working and it's filling the log with noise.
    If you have more than one user account, these instructions must be carried out as an administrator.
    Launch the Console application.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.
    Enter "BOOT_TIME" (without the quotes) in the search box. Note the timestamps of those log messages, which refer to the times when the system was booted. Now clear the search box and scroll back in the log to the last boot time when you had the problem. Post the messages logged before the boot, while the system was unresponsive or was failing to shut down. Please include the BOOT_TIME message at the end of the log extract.
    Post the log text, please, not a screenshot. If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message. When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    PLEASE DO NOT INDISCRIMINATELY DUMP THOUSANDS OF LINES FROM THE LOG INTO A MESSAGE. If you do that, I will not respond.
    Important: Some private information, such as your name, may appear in the log. Edit it out by search-and-replace in a text editor before posting.
    Step 2
    Still in Console, look under System Diagnostic Reports for crash or panic logs, and post the most recent one, if any. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if present (it may not be.) Please don’t post shutdownStall, spin, or hang logs — they're very long and not helpful.

  • ICal events are missing Day and Month in date

    Hello, Sorry if this has been addressed elsewhere - this is such a weird fault I was not sure how to search for it.
    My iCal events are missing the Day and Month in their start and end dates - it just shows a 4 digit year which can only be edited as a 4 digit number. All my events are in their correct places but I am unable to create new multiday events.
    This applies to old and new events alike. I tried trashing my iCal prefs file but it made no difference.
    Anyone any ideas? I am using iCal 3.0.8 on Leopard 10.5.8.
    Thanks in advance.

    Worked it out - I was using a custom date format to give me day and date in the menu bar - reverting to one of the standard built in 'British' works - but then I lose my day in the menu bar....

  • Why are my iCal events not the same across views?

    Help!  I've been editing my iCal in Month view and everything looks great... but then I look at the day view (or week, whatever) and it's not the same.  For example, in Month view for July 2 - I have one event scheduled from 8:30-noon.  Then I look at the day view... and there are 8 different events!  Most of them duplicates of different things that I had at one time or another deleted or changed.  Why didn't the "clean up" work that I did in the month view carry over to day or week view?  In fact the opposite, there are more things in day or week views than I ever created.
    Recently upgraded to Lion from Snow Leopard.  Recently changed from mobileme to iCloud.  I only have iCal set to my iCloud account (no "on my mac" iCal calendar data). So the problem I see when editing on my MacBookPro is also seen when logged into iCloud directly via Safari and on my iPhone, iPad, etc.  At first I thought this was an iCloud syncing error because I only noticed the difference on my phone (list view)... but when I went back to my MacBookPro I realized the problem exists there too... so doesn't seem to be a syncing error, but rather a "view" error... then the "problem" is mirrored everywhere.
    I've tried "refresh" and "refresh all" from the Calendar drop down menu.  This does nothing to help the problem... not that I really expected it would.
    Thanks for any help you can provide.  I'm going crazy!
    Mac OS X 10.7.4; iCal 5.0.3

    Fixed my own problem.  Ultamately a user error but tied to the many threads about the month view defaulting events to "all day" vs. hourly increment.  I knew that was the case, so when editing events from month view I made sure to add/change the time, but negected to look at "To" date.  If my event was for an hour, simply adding the hour pushed the day to span across dates so the event was really 25 hours.  Looked OK in the month view (just showed as a dot) but the day and week were all filled and casued the event to appear twice on the second day in list view (iPhone).  In the case of repeat events, sometimes "To" date ended up as the end date for the repeat cycle... which really messed every thing up... I believe causing what looked like duplicates, etc.

  • Ical Help needed- can not delete a four year ical event

    I accidentally sent an ical event that lasts for four years and now I he cant delete it and it is taking up more and more memory on his phone as it is repeating infinitly every day?? Have tried restore but it still syncs with icloud. is there an easy solution?

    First you have to know which calendar your client saved the event to. Usually by default it saves to the native Calendar app. If that is the case, he should be able to log into iCloud and delete the event (decline the invitation) from there. If your client saved the event to an external calendar that he has synched to his iPhone (Yahoo, Google, etc.) he may be able to delete it or decline it from there, which should in turn remove it from the device.
    The logic here is that only the creator of the event invitation can edit the event details, so that if they do that, all of the recipients of the invitation will get the updated information automatically. I agree it leaves a lot to be desired to stick things on people's calendars that they can't at the very least just simply delete if not edit. I will no longer accept invitations directly on my device in order to avoid this. I will add the event to my calendar manually from now on.
    HTH

  • Help....duplications of ical events on iPhone and only syncing from mac to iPhone?

    Hi,
    Has anyone got any suggestions for fixing this problem.....
    My iPhone syncs with my Mac perfectly via iTunes apart from iCal, which is giving me real grief! iCal on my mac is in perfect order and syncs events to my phone but my phone has duplicate and triplicate events and even events in different states of being edited. The iphone doesnt sync events made in it back to the mac either.
    It syncs contacts etc. fine, just not iCal events.
    Is there an easy way of fixing this or even totally reseting iCal on the Mac and iPhone so it clears this up? (obviously, I need to keep my calendar events though)
    I've tried replacing the info on the phone, reseting the phone, changing to iCloud syncing and back again and I even upgraded to the iPhone 5 (which I was going to do anyway )
    I'm using Mac OS X 10.6.8, iCal 4.0.4, iTunes 11.0.2 and I was on an iPhone 4 and now iPhone 5. It's been happening for two months now and it's getting really frustrating!
    Thanks for any help in advance

    This fixed my problem - finally!!
    https://discussions.apple.com/message/11119276#11119276

  • I cannot delete an iCal event on my Iphone.

    I cannot delete an iCal event on my Iphone. It does not have the edit button at the top of the screen.
    The event does not show up in iCal on my Mac or on my iCloud.
    One of these is a reoccuring event.

    The only other thing I can think of is to try deleting the entire calendar from your iPhone and then sync your iCal calendar to your phone again.  This needs to be done carefully.  I would begin by backing up your iCal calendar on your mac for safekeeping by opening iCal, then going to File>Export>Export, save this on your desktop.  Then do the following:
    On your phone go to Settings>iCloud and turn Calendars to Off.  You should get a prompt asking you whether to keep or remove the calendar data from your phone.  Choose to remove it.
    Without connecting your phone, open iTunes on your computer and go to iTunes>Preferences, go to the Devices tab check "Prevent...from automatically syncing".
    Now connect your phone and, as before, go to the Info tab of your iTunes sync settings.  Confirm that you have checked to Sync Calendars with iCal, then further down under Advanced: Replace information on this iPhone check Calendars, then click Apply at the bottom to sync your phone.
    This should transfer your iCal calendar to your iPhone, hopefully this time without the problem event.  Check your phone to confirm that this was successful, then you can then go back to iTunes Preferences and re-enable automatic syncing.

  • Link an email to an iCal event

    I would like to link an email message in Mail to an iCal event. Under Lion, the only way to do this seems to be to drag the email out of Mail and into a separate folder on the hard drive. Then drag the icon of that mail message to the url section of the event in iCal. Surprisingly, there does not seem to be any way to make a direct link between a message in Mail and an iCal event. If so, this is quite a major oversight and I am keen to know if others are concerned and/or have any solutions to propose.

    Ben,
    Open the event in edit mode. If you double click it and the buttons 'Edit' and 'Done' appear you need to click 'Edit', if the only button is 'Done' it is already in edit mode.
    When you drag the email over the grey event edit window a plus icon with a green background should appear. Drag it until the cursor is over the word 'none' next to where it says 'url'.
    If it works the text 'none' will change into a hyperlink saying 'Show in Mail…'.
    Let me know how it goes.
    John M

  • I can't get ical events to overlap

    I can't get ical events to overlap. I prefer overlap as opposed to side-by-side. Help as to how to get overlap?

    Make sure you are filing in the "Repeat" and "End date" fields for the event (on the Edit pane).

Maybe you are looking for