Adding all day events using applescript to ical

Hey all. I am new to using applescript. Thanks to some top users i have been able to get excel events file transfered into ical.
I need help with the applescript for changing these events from time duration to all day.
tried
set the start time to 00:00 and end time to 24:00 and
set all-day to true
any help would be greatly appreciated!!
thanks.

I have the exact same problem. I have entered birthdays for people I know starting with the year of their birth and never ending, an all-day event. They now don't show in 2007, but there is a detached event on January 1, 2000. When I delete that event and all subsequent versions of it, the initial event now ends in 2006 or 2007, and I have to set the repeat to end Never again. I fixed all the ones from February that showed up. Now I notice that a huge amount of the other birthdays (all day events) that I have entered are doing it now, and we are talking well over 40 of them. I don't understand why it keeps creating these detached events. I also publish my calendars, if that makes any difference.

Similar Messages

  • All day events showing incorrectly in iCal

    I published my Exchange 2010 calendar for others to view in iCal.  I can subscribe to the calendar, however all day events are not being displayed properly.

    One more thing, it prints just fine in Month View. Bizarre.

  • Daylight savings all-day events issues in updated iCal for iPad

    After purchasing new MBP, Genius Bar told me to update to new iCal. I have noticed that any all-day events taking place on the date that daylight savings begins (3/13/11 i.e.) lasts on iPad's iCal for two days. When I attempt to edit, event still displays for two days. Guessing it is because that day technically lasts for only 23 hours. Genius Bar consultant had no suggestions for a remedy. This error appears for 2011, 2012, 2013, 2014 daylight savings beginning dates. The error doesn't seem to be a problem for the MBP or my iPhone.

    I've experienced the same problem.  I set up a recurring one day event on the first of each month - come April 1 in 2012 the event is spread over 2 days (the end of daylight savings time in Australia) from April onwards.  I can muck around with the event and have it set at one day from April1 onwards in 2012 but there's a recurring event bug related to daylight savings.  I wonder if any alarms people have set for that day will again experience the problems from the past?

  • ICal "all day events" separator bar

    Is it possible to adjust the "all day events" separator bar in iCal in the Daily or Weekly view.  When you have more than 6 all day events on one day a scroll bar appears, and it's not possible to view all of the all day events at once.  I know that this sounds like nit-picking, but I've developed a work-flow where I would like to look at all of the informaiton at once without extra clicks or scrolls, or to glance at the information without having to bring the application to the surface, or make it the active application.
    Does anyone know if there is a way to adjust the separator bar to allow the user to see more then 6 all day events in the weekly or daily iCal views
    Another ideal solution would be additions to the View or the Preference options that would allow the user to view all of the "all day events" and have the separator bar automatically adjust.
    thanks,

    I agree with you...  this used to be a flexible field and would handle infinate "all day" events.    To answer your question...  no, you cannot adjust this field.  I too use this for business and really need to view all the "all day" events.  I've been forced to use the daily view and put a date notation in the "location" field to know when the event ends.  It's the only way to see everything.
    I found a nice little calendar program SaiSuke but Apple doesn't play well with others.  You can enter into the iCal or iCloud calendar program and it will seemlessly appear through iCloud into the SaiSuke calendar.  But Apple will not release the information allowing SaiSuke to talk back to iCloud. 
    Basically what I'm saying is it's a one way conversation between SaiSuke & iCloud, it can bring data in but not return data back.  So if you enter a new event in SaiSuke it will not be anywhere other than the iPhone or iPad you entered it on, it cannot make it back to iCloud without plugging your phone in and doing a manual Sync.  Of course this process will produce duplicate events. 
    So unless someone out there has more knowledge ...  and you want to have your events be the same on multiple platforms (phone, pad & desktop) we are stuck with using their iCal product.  Apple calls this progress.

  • All day events in iCal on 3Gs w/ iOS 4.0.2 show up day early in List view

    For some reasons, all day events on my Calendar (iCal synced via MobileMe) are showing up a day earlier on my iPhone, but only when I use List view. They appear fine when I use iCal on my MBP or iMac. This happens with all day events on my calendars and subscribed calendars (e.g., birthdays).
    If I tap on an event in the Day or Month view, the correct date is listed. If I tap on it in the List view, the day before is listed as the date.
    What in the heck is going wrong here?

    I am having the same problem. I have tried different scenarios and it looks like its an issue with syncing from MobileMe. I thought I had it beat when I saw my preferences for in iCal were set to to start at 8AM and end at 6PM. I made it Midnight to Midnight but that did not fix it.
    I am perplexed - has to be a bug!
    Message was edited by: RaoulDuke

  • No all-day events in iCal

    Hello everyone,
    I am experiencing some kind of bug in my Mavericks 10.9.2 iCal, where is field for all-day events completely empty. So no birthday or other events.
    Of course, the calendar account is checked and online, calendar is checked, birthdays are enabled....
    I tryed to disable accounts and enable again, and some other things, but with no success.
    Any idea how to fix that ?
    Thank you,

    OK, forget that. The iCal was some king of stacked. I deselected ical>view> unselect "show all day events" and closed the iCal, then opened that and select it again to make it work.

  • All day events don't show on wiki calender

    for some reason any all day events i put in ical doesn't update on the wiki, its fine for any other events that aren't all day, has anybody found a solution for this? Also is it possible to colour code events?

    Even stranger, I have this problem with one calendar and MobileMe (and thus my other Macs.)
    Only one calendar, and multi-day events don't show up. Uncheck 'all-day' and they appear. Re-check 'all-day' and they turn into multi-day events on me.com
    Very strange indeed.

  • Using iCal on iPhone in Day view - How can I move divider to give more space to all-day events?

    I am using iCal on an iPhone
    I would like to move the divider that seperates all-day events from the timed events. I would like to view with more room for all-day events and less room for timed events. How can I do this?

    If you change anything in a repeating calendar entry it will give you the option of disconnecting it from the series. So may any random change, choose to not change the series.

  • ICal imports Palm all day events as 2 day events - easy to fix?

    Hi,
    I want to make the switch from Palm desktop 4 to using iCal 3 but I've run into a problem. When I import the vcal exported from Palm, the iCal makes all of the all (one) day events into 2 day events.
    Is there anyway to fix this so the all day event displays only on the day it was set for in Palm?
    I'm hoping I don't have to do all of these by going back to my oldest events and changing the dates by hand because I have almost 9 years of data in my Palm calendar.
    Thanks.

    Just to update what I've been trying without success.
    I exported the Palm datebook as .csv file. I then edited any entries that began and ended the same day without any times, i.e. the one day all day events, to begin at 12:01am and end at 11:59pm. Then after backing up my Palm user data and prefs, I erased my Palm data and reimported this .csv file into Palm desktop, then I reexported it to a vCal and imported that into iCal.
    It made a mess out of things because I discovered some of these all day events also repeated. I'm not sure what to do with repeating events.
    I tried going into iCal and manually changing the events but then I end up with many duplicates if they are repeating.
    I exported the iCal data and opened it in Text Wrangler. Then I exported the calendar from Sunbird. It seems like the iCal is adding an extra "end date" that isn't in the file when I import it into Sunbird.
    Any other suggestions would be appreciated.

  • All Day Events ( banner events ) will not show in iCal and  Web Cal

    I have iCal Server working for the most part. I am having issues with the Web Calendar not showing the all day events that are made in iCal on that group calendar. Non-All Day events show on both the iCal on the client computer and on the Web Calendar. Also events can be added and edited by multiple users.
    If I make and all day event on the Web Calendar, it does not show up on the iCal client. If I make an all day event on the iCal client it does not show in the Web Calendar.
    I made a banner event on the Webcalendar. One user could see the event in his iCal, I could not. He changed the status to "All Day Event" then the event disappeared from the Web Calendar, and showed up in my iCal.

    Same problem here! Apple should really get their act together if they are serious about groupware and their server software; all-day events are a crucial part of a calendaring system!
    I wonder if Apple actually use their own software? I can't imagine that they'd let this one go on unsolved for this long
    JDT

  • AppleScript to make All-Day Events?

    I'm new at this, so forgive the question if it's obvious. I routinely import a calendar using Outlook2Cal from a Windows machine to iCal 2.0.3 on my PowerBook. It works fine, but All-Day events in Outlook show up in iCal as starting at 12:00 AM the first day and ending 12:00 AM the next day.
    The company that makes Outlook2Mac says that's a bug that they hope will be fixed eventually.
    In the meantime, is there a way AppleScript could find all the entries that, say, start at 12:00 AM and automatically check off the "All-Day Event" button?

    Hi Roger,
    This is fairly straighforward in Applescript. You could try something like the script below. Depending on the number of events in the calendar it's possible this could take time. The script should let you know when it's done.
    Just in case you don't like the result. Backup, just in case. In iCal go to File>Back up Database... and save your calendars.
    --Copy blue text into Script Editor (Applications > Applescript > Script Editor) , press Run and follow prompts. If you are happy with the results you could save it as an Application.
    tell application "iCal"
    -- Select calendar
    set myCal to first calendar whose title is (item 1 of (choose from list (title of (every calendar) as list) with prompt "Choose calendar"))
    -- Loop through events
    repeat with myEvt in events of myCal
    -- Get start & end times of event
    set {startTime, endTime} to {start date of myEvt, end date of myEvt}
    -- Check start and end hours & mins
    set hoursAndMins to {hours of startTime, minutes of startTime, hours of endTime, minutes of endTime}
    -- See if start and end time are midnight, if so set to all day.
    if hoursAndMins is equal to {0, 0, 0, 0} then set allday event of myEvt to true
    end repeat
    display dialog "Done all day events"
    end tell
    Best wishes
    John

  • Yosemite - strange behavior for all-day events in iCal

    I have been using previous versions of MacOS with my corporate exchange server for quite a while with no issues.  After  the upgrade to Yosemite i have found an odd behavior with inserting all-day events into the exchange calendar.  Same results on MacBook Pro and MacBook Air, both worked fine with Mavericks and now have this issue with Yosemite
    My previous workflow was to double click in the upper bar in calendar, open an event in the all-day area, type  in what I wanted to say, select the exchange calendar from the pull down (I have multiple calendars) and the event was done.
    Now when I do this when I switch the event to the exchange calendar I get  this error message:
    If I select OK the event is then transformed to a 12:00-1:00 meeting and a note is added to the  notes that the time zone isn't right
    Note: the meeting does go into the calendar in Pacific time (my default) and I can edit the event back to an all-day and remove the junk from notes and it stores away like it should.  But this is quite annoying
    Any suggestions

    I have the very same issue. I solved it once somehow but now it's back. I use Plaxo to sync between Outlook-iCal-iPhone and maybe that somehow has confused the phone. Let me know if you find any solutions. I will do the same.

  • Duplicate All-Day events in Entourage, iCal and iPhone

    When I sync my iPhone calendars at work, I am getting duplicate all day events (ie, birthdays, anniversary, etc). I'm using the Entourage sync services to create an iCal.
    Is anyone having a similar problem or solution?
    Thanks!

    I have had a similar problem with all-day events in Entourage.
    So far, I have had to manually delete the unwanted all-day events, but once deleted, they have not come back.
    My theory is this: I already was syncing Entourage and iCal even before the iPhone. When I added the iPhone, it added a Calendar called "Entourage" to the iCal. It synced Entourage, my home iCal, my work iCal, and the iPhone to the iCal "Entourage" Calendar, leading to multiple junk. I added an application to my Mac which automatically keeps track of library books I have checked out, and puts the due dates on my iCal. When I added this, I got a whole new round of double all-day events.
    You can delete them either in Entourage or in the iPhone, but I have gotten more reliable results doing it in Entourage.
    A keyboard shortcut is to point at the event with your mouse and then type {Apple Key} {backwards delete} d
    Hope this helps.

  • Why is ical automatically setting new events as "all day" events in Lion

    After upgrading to Lion, everytime I add a new event in the Month panel it automatically selects the "all day" checkbox.  It didn't used to do this and it's kind of annoying....anybody else?

    Gustlock,
    Default event creation in Month view results in an all day event.
    Lion iCal Help (Add events to a calendar) says: "Add a new event in Month view by double-clicking within the day you want the event to appear. Enter a name and time duration for the event in the event’s title field, and then press Return."
    So, in your case try entering "Meeting at 9am"...that will create a one hour event named Meeting.
    Lion iCal data detectors are supposed to make entry easier??

  • How do I expand the view of all day events in iCal?

    I am unable to find an answer to this question any where.  Is it possible to expand the area in iCal where all day events appear in the day and week views?

    Did you ever get an answer on this?  I can see everything in the DAY view but need to see the all day events in the week view.  I have events that start on say the 15th and run to the 21st.  I've started putting the end date in the location field but it was so much nicer when the all day even portion expanded to allow you to see all of them without having to scroll.  Having to use the DAY view makes it really hard to schedule.  Any chance this will change in the new version?

Maybe you are looking for

  • SCCM 2012 R2 Prerequisite Check

    Hello I'm stuck with the installation of SCCM 2012 R2. I get stuck at the Prerequisite Check with the following errors: 1. SQL Server service running account 2. Required SQL Server Collation 3. SQL Server sysadmin rights SQL 2012 SP1 is installed on

  • Country India version activation

    Hi All We have installed ECC 6.0 IDES in our office. We have activated the country India version in SPRO settings via Financial accounting -->Tax on sales/purchase --> basic settings --> India. But when I checked in SPRO settings Enterprise structure

  • How do I STOP automatic updates for firefox & thunderbird?

    How can I STOP automatic updates for firefox & thunderbird?

  • Autoassign privilege when creating idm identity

    Hi, iam using the SAP PF. When i create a new Identity with the Template "Create Identity" i also want to create a User in UME and assign him to "idm.authenticated". I solved the user creation by linking the "ProvisionJava" (System specific as java t

  • My flash video is not working?

    Hello, Can anyone tell my why this video is not displaying? http://www.go2pcpro.com/melanieshefchik Thank you, Melanie