How to get SUBSCRIBED calendars synched on iPhone/MobileMe

Create, and place this Apple script in your Appliations folder
Instructions follow the script...
-- iCal Duplicator 2.0
-- MobileMe Push Sync with iCal does not currently support susbcribed calendars. This has disappointed some like
-- myself, who rely extensively on subscribed calendars. This kludgy solution copies events from a subscribed calendar
-- to a local calendar. Set your calendar names in the script, then run the script on a weekly/daily basis or manually to
-- update your local copy/copies based on the subscribed calendar.
-- Support for copying from multiple calendars has been added. You'll need to enter the source and destination names as
-- pairs. If you want multiple subscribed calendars copied into one local calendar, you can enter the local calendar names
-- multiple times as I have for the "Combined - Local" calendar.
-- Christian Lindemer, July 15th, 2008 {macosxhints (a) dethbunny (.) net}
-- * * * Edit values to match actual calendar names * * *
-- The subscribed calendars
property sourceCalendarNames : {"Davidcopy", "Othercopy"}
-- The blank local calendar(s) to copy in to, in the same order as the source calendars
property destinationCalendarNames : {"Davidcopy", "Other"}
-- how many days to go back - the more you add, the slower the script runs.
property oldEntryDays : 1
on run
--make sure we have valid names.
try
tell application "iCal"
repeat with testName in sourceCalendarNames
--this throws an error if there is no calendar with the given name, thus checking the calendar's validity.
set testCal to (the first calendar whose title is the testName)
end repeat
repeat with testName in destinationCalendarNames
set testCal to (the first calendar whose title is the testName)
end repeat
end tell
on error
--if a name can't be found, alert user and halt.
calendarNotFound(testName)
return --this effectively quits the script
end try
repeat with destName in destinationCalendarNames
clearEvents(destName)
end repeat
set calendarCount to 1
--repeat through all calendar names
repeat with sourceName in sourceCalendarNames
--get the calendar names and pass them to the copyEvents function
set destinationName to item calendarCount of destinationCalendarNames
copyEvents(sourceName, destinationName)
set calendarCount to (calendarCount + 1)
end repeat --repeat through all calendar pairs
end run
on calendarNotFound(notFoundName)
display alert "Calendar named " & notFoundName & " was not found in iCal. Please edit the script to match your calendars."
end calendarNotFound
on clearEvents(destCalName)
tell application "iCal"
--Clear the destination calendar
set destCalendar to (the first calendar whose title is the destCalName)
set calendarEvents to (events of destCalendar) -- get the destination calendar's event list
repeat with myEvent in calendarEvents -- delete each existing event
delete myEvent
end repeat
end tell
end clearEvents
on copyEvents(sourceCalName, destCalName)
tell application "iCal"
set sourceCalendar to (the first calendar whose title is the sourceCalName)
set destCalendar to (the first calendar whose title is the destCalName)
set calendarEvents to (events of sourceCalendar) -- get the calendar's event list
repeat with myEvent in calendarEvents -- repeat for each item found in the source event list
--Don't bother with old events
if start date of myEvent > ((current date) - oldEntryDays * days) then --event is in future, or within prefs for old entries
-- gather relevant details of event to create new event with
set eventStart to start date of myEvent
set eventEnd to end date of myEvent
set eventAllDay to allday event of myEvent
set eventSummary to summary of myEvent
-- create event in destination calendar with details of subscribed event
tell destCalendar
make new event at end with properties {summary:eventSummary, start date:eventStart, end date:eventEnd, allday event:eventAllDay}
end tell
end if --if not older than 'oldEntryDays' days ago
end repeat --iterate through entries in source calendar
end tell
end copyEvents
Let's say you have a subscribed calendar named "David"
Go into iCal and create a new calendar ("on my Mac") named "Davidcopy" with the same color as your subscribed calendar.
Repeat for any other subscribed cals you want to sync to iPhone.
Open the CopyCal script
Edit the first line of (uncommented) code which starts with property sourceCalendarNames:
Change the names of the cals in this list to match the subscribed cals you wish to copy
Edit the list on the next line to match the NEW cals you created ("Davidcopy" etc)
Next look at iCal and uncheck the subscribed cals.
Run the script and watch the copying take place.
Now to automate this, set up an event everyday (as often as you like). Preferably this can be in another calendar you don't publish - so everyone doesn't have it cluttering their view of your cal.
For example I have events named "sync" at 9:30am and 5pm every weekday. For the alarm, use "Run Script" and choose the CopyCal.scpt.

on copyEvents(sourceCalName, destCalName)
tell application "iCal"
set sourceCalendar to (the first calendar whose title is the sourceCalName)
set destCalendar to (the first calendar whose title is the destCalName)
set calendarEvents to (events of sourceCalendar) -- get the calendar's event list
repeat with myEvent in calendarEvents -- repeat for each item found in the source event list
--Don't bother with old events
if start date of myEvent > ((current date) - oldEntryDays * days) then --event is in future, or within prefs for old entries
-- gather relevant details of event to create new event with
set eventStart to start date of myEvent
set eventEnd to end date of myEvent
set eventAllDay to allday event of myEvent
set eventSummary to summary of myEvent
set eventRecurrence to recurrence of myEvent
-- create event in destination calendar with details of subscribed event
tell destCalendar
make new event at end with properties {summary:eventSummary, start date:eventStart, end date:eventEnd, allday event:eventAllDay, recurrence:eventRecurrence}
end tell
end if --if not older than 'oldEntryDays' days ago
end repeat --iterate through entries in source calendar
end tell
end copyEvents

Similar Messages

  • Left iCloud - how to get iCloud calendars synced from iPhone?

    Like many people have experienced, iCloud's calendar-syncing issues have made a mess of my calendar-dependent schedule.An unmitigated disaster. I finally signed out of iCloud, and left the iCloud calendars on my iPhone, the only place other than iCloud my multiple calendars currently exist, due to Outlook sync problems.
    Now, I can't get the multiple calendars on iPhone to sync with ANYTHING else, not google calendar, not outlook, not iCal. Only the main calendar syncs up, noe of the colored other categories I was using.
    If anyone has a notion of how to deal with this I'd be deeply appreciative. Thank you!!

    on copyEvents(sourceCalName, destCalName)
    tell application "iCal"
    set sourceCalendar to (the first calendar whose title is the sourceCalName)
    set destCalendar to (the first calendar whose title is the destCalName)
    set calendarEvents to (events of sourceCalendar) -- get the calendar's event list
    repeat with myEvent in calendarEvents -- repeat for each item found in the source event list
    --Don't bother with old events
    if start date of myEvent > ((current date) - oldEntryDays * days) then --event is in future, or within prefs for old entries
    -- gather relevant details of event to create new event with
    set eventStart to start date of myEvent
    set eventEnd to end date of myEvent
    set eventAllDay to allday event of myEvent
    set eventSummary to summary of myEvent
    set eventRecurrence to recurrence of myEvent
    -- create event in destination calendar with details of subscribed event
    tell destCalendar
    make new event at end with properties {summary:eventSummary, start date:eventStart, end date:eventEnd, allday event:eventAllDay, recurrence:eventRecurrence}
    end tell
    end if --if not older than 'oldEntryDays' days ago
    end repeat --iterate through entries in source calendar
    end tell
    end copyEvents

  • I had a shared mobileme account for my work calendar- 4 people sharing call using one set of calendars.  It is on my mac but not on my iphone anymore...just 3 of my calendars went to icloud.  Any idea how to get the calendars from a "family" mobileme?

    I had a group account on mobileme...a family pack that each of us at work had an individual account and we all shared one account in the family.  It kept our work calendar- a schedule telling who is in the office and who is on call.  This is still on my macBook but not on my phone or my iPad.  Any idea how I make my phone show the calendars on my MacBook?  It was there before I went to iCloud.

    If your email account offers a webmail access, I suggest checking the webmail - log in to your account using the webmail access, and I predict you will see all those "unread" emails there and can dispose of them from there.
    This happens because the iPhone that went bad, when reading those emails, did not remove them from your email provider's servier.

  • How to get older Calendar display on iPhone with iOS 7.1.1?

    I find the new display of the Calendar on iPhone after upgrade to 7.1.1 absolutely impractical. I want to be able to see a whole day of appointments on the whole screen (with scrolling), rather than a view of the month at the top, and 3 lines of appointments at the bottom. Besides, entering a new appointment is now more difficult because scrolling the screen is sometimes impossible without altering what was just entered.
    Can I go back to the display I had before the upgrade? Thanks.

    No.
    Turn your iPhone in landscape mode to see 5 days at a time with scrolling up and down.
    I have no problem scrolling to another area when entering a calendar event altering what I have already entered.

  • How to delete a calendar on the iphone ???

    When the mobile me services were upgraded a few days ago, the calendar imported from entourage and synced to the iphone via iCal was suddenly duplicated.
    syncing works just fine, but it is impossible to get rid of the old calendar on the iPhone. even deleting all calendars from iCal and then syncing via mobileMe cannot remove this calendar. it has gone from the local iCal and from mobileMe but it still is there on the iPhone.
    As I said-syncing the iPhone with the empty mobileMe does NOT remove the calendar. How can I get rid of it ?

    I finally worked this out. My situation had old calendars that used to be synced in combination with switching to a different Mobile Me account.
    Bottom line is that once a calendar is created locally on your iPhone for whatever reason, there is no way to delete it. You can only reconfigure the set of calendars, but how to do that can be a can't-get-there-from-here-in-this-state problem.
    Here is a step by step of what I had to do to restore sanity:
    This assumes there is no calendar information that lives only on your iPhone that you want to keep.
    On your iPhone, in Settings->Mail, Contacts, Calendars, find your Mobile Me account, turn off "Calendars". Exit the settings application (hit the button to go back to the home screen), or the next sync will fail.
    Temporarily create a calendar in iCal called "Apple FAIL" or something. In iTunes under your phone->Info, "Sync iCal calendars", select just that calendar (unchecking the option to sync iCal calendars won't clear out the stranded ones).
    Under "Advanced" on the same screen (you might have to scroll down to see it), check "Calendar" under "Replace information on this iPhone"
    Sync.
    On iTunes, uncheck "Sync iCal calendars"
    Sync.
    On your Mac, delete the temporary "Apple FAIL" calendar you created
    If you are using Mobile Me:
    On your iPhone, go back to Settings->Mail, Contacts, Calendars, find your Mobile Me account, turn "Calendars" back on.
    Otherwise:
    In iTunes, select the iCal calendars you want and re-sync
    Soapbox:
    Apple is normally good at solving complex issues with an intuitive user interface and a convenient workflow. This situation is a fail on both accounts.
    What lead to this situation for me is I wanted to see subscribed calendars on my iPhone in addition to using Mobile Me. Syncing a subscribed calendar in iCal from my Mac won't actually set it up on my iPhone as a subscribed calendar, so that calendar on my iPhone is only as up-to-date as my iCal version of it was as of the last time I synced, which then will only be as up-to-date as the last time I ran iCal and synced it. Instead, I have to manually subscribe to the calendars on my iPhone by either emailing myself the webcal: links or typing them into Safari on my iPhone. Managing subscribed calendars both on my iPhone and iCal is a giant PITA.

  • How to get photos from mac to iPhone 6? when i try it just comes up iCloud instead of my photos

    how to get photos from mac to iPhone 6? when i try it just comes up iCloud instead of my photos

    Make sure Settings > iCloud > Photos > iCloud Photo Library (Beta) = "Off"
    Then sync your iPhone using iTunes and make sure your sync settings for photos are set correctly in iTunes.

  • I update my IPhone4 to IOS6 from IOS4.3.3. My all songs are missing in the Iphone4. How to get those songs into my Iphone from ITunes. Even after sync also not coming to IPhone.

    I update my IPhone4 to IOS6 from IOS4.3.3. My all songs are missing in the Iphone4. How to get those songs into my Iphone from ITunes. Even after sync also not coming to IPhone.

    The iphone is not  storage/backup device.
    The sync is one way - computer to iphone.
    The only exception is itunes purchases.  File>Devices>Transfer Purchases
    You should copy everything from your old computer, or your backup copy of your old computer, to your new one.

  • ICal subscribed calendar on the iPhone

    Hi,
    I've run on the Mac OS X Server calendar services.
    What is the URL for the calendar subscription? (not CalDAV account)
    I want to add Subscribed calendar on the iPhone! 
    thx for Help
    SH

    Might be the problem that I'm reporting here http://discussions.apple.com/thread.jspa?threadID=2044448&tstart=0

  • How to get the manufacturing date of iphone 5s?

    how to get the manufacturing date of iphone 5s?
    thanks

    Enter your serial number here:
    www.appleserialnumberinfo.com/Desktop/index.php
    To find your serial number:
    Settings > General > About > Serial Number

  • How to get the itunes code of iphone 5s

    how to get the itunes code of iphone 5s
    I am from india ....
    the itune setting doesnot give me none option in my phone ....
    And i dont know the itunes gift code ...
    So pls give me the detail how to get the itunes code and what is it ?

    It would have been better if you had added a reply on your original post instead of starting a new thread : https://discussions.apple.com/thread/5514146?tstart=0
    iTunes gift cards are an alternative way of paying for content from the store, but they aren't available in all countries (and the cards are country-specific, they can only be used in their country of issue). The gift card field on the account set up page is optional, and as gift cards aren't available in India you won't be able to fill it in anyway.
    There are instructions on this page for how to create a new account without giving credit card details and will give you the 'none' option : http://support.apple.com/kb/HT2534 - the instructions won't work with existing accounts, and if you didn't use those instructions when creating your existing account then you will need to enter credit card details before you will be able to use it to download content

  • Any info on how to get iCloud calendar, contacts, etc to sync with office 365 on macbook pro?, any info on how to get iCloud calendar, contacts, etc to sync with office 365 on macbook pro?

    Any info on how to get icloud calendar, contacts, etc to sync with office 365 on macbook pro?

    You can't, there is no connection between the services, use one or the other.

  • HT5824 How do retrieve my calendar for my iphone? All the events disappeared on my last sync.

    How do retrieve my calendar for my iphone? All the events disappeared on my last sync.

    to retrieve from where? If you synced with icloud all you need to do is go to settings- icloud- turn calendars on. After a minute your calendars should show up and if they do not you can try to turn off and then on again. If they still didn't show - they were never synced with icloud and then the first question to retrieve from where? comes back to us.

  • How to get photos from pc to iphone ?

    how to get photos from pc to iphone?

    1. Connect your iDevice to your computer with the USB connector. Open iTunes and select your device from the left sidebar. Then, select the photos tab from the top menu.
    2. Organize and sync.
    First choose where you’d like to sync your photos from. I use iPhoto, but you can use any photo management system.
    Check the box next to each album &/or event you’d like to sync.
    Alternatively, you could put all the photos you want to transfer into a separate folder on your computer, and choose to sync just that folder from the drop down menu.
    Notice that I’ve checked the box “Include videos” so any included videos will also sync.
    When your selections are made, click “Apply” and the photos will sync to the photo library on your device.

  • How to get out of recovery mode iphone 3gs ios4.3.5

    please can any help on how to get out of recovery mode iphone 3gs ios4.3.5

    Reset, hold both Home and Power buttons until the iPhone restarts.
    If still in Recovery Mode, Restore in iTunes. If the iPhone Errors, write down the Error Code so you can look up the cause and solution.

  • How to get out of recovery mode iphone 4

    how to get out of recovery mode iphone 4

    Plug it into your computer running iTunes and restore it.

Maybe you are looking for

  • Not all records displayed

    hi guys, i'm new in reports, my report has repeating frame the query returned correct result but the reports disply only one page with limited number of records although i set all frames to be variable in vertical elasticity regards

  • Weblogic Portal Developer position

    Hi,      I am currently working on this WLP Developer position for a Fortune 200 client in San Ramon CA who has need for someone with strong background described below. Please let me know of your interest by sending me a current resume As Soon As Pos

  • When use "Direct Delta", "Queued Delta" and "Unserialized V3"?

    Hi, I saw here a loot of threads asking the diference between these update methods. But my question is simple, When I use one or another? Like, Direct Delta I can use in real time data aquisition! (it´s just an exemple, i do not know if is possible).

  • Error -1 helpppppp

    Hi, i tried to update firmware of my iphone 4s to ios 5.1 but at the end itunes sand error -1. iphone stay in dfu and don't start. if exit to DFU nabually iphone goes in loop... any idea?! help me help me help me!!!!!! Bye

  • Email Response re PSE7 Help required.

    I have received the following email A new message was posted by Juergen D in Photoshop Elements Feature Requests -- Will there be PSE7? How the heck do I deal with it please? Thank you for any help. Brian