ICal: Publish calendar via AppleScript?

Does anyone know if it's possible to publish a certain calendar in iCal by using AppleScript? (Without, it's no problem...)
I have tried all the [to me] obvious things, but can't figure it out. There are no suitable functions listed in the Applescript menu.
Any suggestions welcome...

Hi Roger,
you are right, I didn't know there was this possibility.
Thank you very much for you help.

Similar Messages

  • Create iCal-iCloud calendar with applescript

    I am trying trying to create a new calendar with Applescript in my iCloud account.  I've tried using the following:
    tell application "iCal"
      make new calendar with properties {title:item i of NewCalendars}
                        end tell
    but it creates it On My Mac.  I've tried searching for a way to do this but can't find anything.

    That seems to be possible with GUI Scripting:
    set theTitle to "New calendar"
    tell application "Calendar" to activate
    tell application "System Events" to tell process "Calendar"
        tell menu bar item "File" of menu bar 1
            click menu item "iCloud" of menu 1 of menu item "New Calendar " of menu 1
            -- (don't remove the space at the end of "New Calendar ")
        end tell
        keystroke theTitle & return
    end tell
    Before running the script, don't forget to enable access for assistive devices in the Accessibility System Preference pane.

  • ICal published calendar : wrong times !

    Hello all
    I succesfully published my "work" iCal schedule on the internet via .Mac, but although the times of events are correct on my "home" iCal (ie the one on my computer), those on the web are wrong ! (9 hour difference)
    I have checked everything, and can't find the problem...
    anyone ?
    thank you

    This is a stab in the dark - but have you checked the timezone where your web-based server is physically located? Could iCal be adjusting your calendar to the actual timezone recorded on the server you're using? f there's a 9-hour difference then that's a start point.

  • Cannot set view time in Calendar via Applescript

    I use the AppleScript below in an application to capture the weekly calendar view. I would swear, under an OS release before 10.9.5, this would cause the the Calendar view to be set with the top line at 7am of the current day. Now, the Calendar view ignores the time setting. Can anyone suggest whether this is a bug and/or provide a workaround?
    TIA
    set daytoshow to (current date)
    set the time of daytoshow to 60 * 60 * 7
    tell application "Calendar"
      activate
      view calendar at daytoshow
      switch view to week view
      set the visible of the first window to true
    end tell

    Your wife could publish her MobileMe Calendar and then you could subscribe to it on your iPhone.

  • Does anyone know how to get the iCal Published calendars not to timeout?

    Message is:
    Error while updating.
    Request to ical.mac.com failed after trying for 30 seconds.
    I've read every other forum and am amazed this has not been solved. It should be a slam dunk. Do I need a better iCal?
    Greg.
    G4   Mac OS X (10.4.9)   Expert

    Hi Greg,
    i have exactly the same problem.
    Have you find any solution for that?
    Thx
    Florian

  • How can a hyperlink be included in a published calendar event?

    In a published calendar (via MobileMe), I created an iCal event that included a hyperlink (http://www....) and refreshed the published calendar. When I looked at the published version of the calendar, the hyperlink appears in the event (and functions), but the calendar is distorted. If I remove the http:// and leave the rest of the internet address the distortion is gone and the calendar views normally. But, I lose the hyperlink.
    Is there a technique to publish a calendar with events that include hyperlinks?
    Thanks.

    The URL is in the event title (at the end)--I hadn't previously noticed the URL data element (but as you stated, it doesn't show in the published calendar event).
    Yes, I'm viewing at ical.me.com/....
    I'm using Safari Version 3.2.1 (5525.27.1).
    The distortion is in the weekly view (day and month are OK)--the event is on Saturday (8 am to 5 pm). Essentially, the time scale on the left edge of Sunday (first day of the week) breaks off around 8:30 AM and appears in Saturday and is appended to the Saturday event. The Apple logo and the phrase "Created using .Mac" that is usually at the bottom of the time scale appears where 9:00 AM should be on the time scale to the left of Sunday. Sunday through Friday are grayed out each day from around 8:45 AM until midnight. Any events during those times appear on Saturday.
    Thanks for your interest.

  • Deleting and Publishing ical Calendar with AppleScript

    I have a question I hope somebody can help me with.
    Thanks to a previous manager, we're stuck with Microsoft Project for our product release scheduled management. It has no capability for exporting the information into an iCal format for publication on our web dav server (so that sales reps, programmers, and techs can view it). I've made a BBEdit script that can take a tab delimited export of the crucial information from Project and make it into an importable iCal file.
    I'd like to find a way to delete the old iCal calendar, import the replacement and publish it using the same script. Unfortunately my Applescript skills are minimal; the BBEdit recorder has made it so easy to do most of what I need that I haven't had to learn all the rules for making a script.
    If anyone knows if this can be done, and how, and could help, I'd really appreciate it.

    Alf,
    I don't see a list of available calendars, so I think one needs the name of the calendar to access it. Is this correct?
    You are partially correct, the only protection that you have in this case is the fact that anyone who wishes to access a specific published calendar has to either know or guess the username/calendar_name combination.
    According to Apple: If your iCal calendars contain private or confidential information, you should not publish them on .Mac. Anyone who knows your calendar's URL can subscribe to it using iCal or view it using a web browser.
    In order to prevent unauthorized access Publishing a password-protected iCal calendar to iDisk, offers a viable secure alternative.
    ;~)

  • Securely publishing iCal calendars via .Mac

    i want to securely share (publish/subscribe) calendars among just the members of my family. we share a .Mac family account with a Shared iDisk folder that is, in theory, for our exclusive use.
    if i publish to .Mac, it appears the calendars are viewable by anyone with the correct URL, not just my family.
    if i try to publish to a Private Server using the URL for the .Mac Shared folder (Base URL: http://idisk.mac.com/myaccountname/Shared), the required Login: account name intrudes into the syntax for the pathname to the location. text box says "Publish failed for calendar "xxx". Could not create calendar on http://[email protected]/accountname/shared/calendarname.ics"
    any ideas on how to securely share iCal calendars among family members on .Mac?
    thanks very much.

    after a couple more hours of digging, i answered my own question.
    here's a relevent article with the answer: http://docs.info.apple.com/article.html?artnum=61725
    the .Mac Family Pack includes an iDisk Shared folder to which all accounts (master account and up to 4 sub-accounts) have shared access. by substituting "Shared" for "Documents" in the URL pathname syntax in the article, i was able to publish calendars into the Shared folder. then, subscriptions were per the article except that any family member's account name and password provided access to the folder.
    i think i just had the syntax wrong for publishing to begin with. i don't remember for sure, but i think i may have been using "www.mac.com" instead of "idisk.mac.com".
    anyway, it appears to be working.

  • ICal won't update published calendar

    I have a published calendar on .Mac and when I update in iCal, it won't update on my .Mac account. Also it shows that the published date is Dec 31, 1969. I have checked my date and time on system preferences. I have deleted and recreated this calendar, and it has not solved the problem. I have even unpublished and published several times, all to no avail. I have iCal 2.0.2 installed. Anyonw else come across this problem?
    Thanks.

    When you publish, is "Publish changes automatically" checked? This would explain why updates don't happen. Also in .Mac system preferences under the "Sync" tab, there is a choice of how often to sync. Even if this is set to "Automatically" the sync isn't instant. Check this setting. I don't know if it affects published calendars or not, but worth checking nonetheless.
    I wonder if in the Date and Time system preference ("Date & Time" tab) you have "Set date & time automatically" Checked?
    Mine publish fine, no problem: http://ical.mac.com/dancingbrook/Social
    Still no solution for web To Dos though perhaps via a webDAV server? Try:
    http://www.icalx.com/
    Also, can I assume you've tried trashing your ical preferences? ~/Library/Preerences/com.apple.iCal.plist

  • I can't seem to update icloud's calendar via my iPhone's calendar. Also, iCal on Mac follows iCloud so when I sync iPhone to Mac it becomes a even more confusing situation...

    Pardon my ignorance. I have scoured the forums and no one seem to touch on the exact subject I am talking about.
    I can't seem to update iCloud's calendar via my iPhone's calendar with all connectivity turned on (sync,push,pull,slap whatsoever).
    Also, iCal on Mac follows iCloud (sluggishly and not due to connection problem, so i'd nice to have a status bar telling me whether or not it's active and doing some updating) so when I sync iPhone to Mac it becomes a even more confusing situation...
    Simplified version:
    -Events created on the iphone doesnt get on icloud.
    -When iphone is synced with ical on mac and changes are made on Mac, changes are not immediately reflected on iphone unless clicked "sync"
    -I just want to view a live ical at all times without going to safari and opening up the web iCal. I want to view a 100% live iCal on the native iCal via iPhone. Like google docs! Is that too much to ask!?
    Iphone seemed to have a "push" or "sync in this many minutes" option for iCal, but that seemed like it's only receiving changes, and not send out changes made via phone. Very confusing, very annoying!

    Download iTunes using the tab at the top of this page. Then run the update with iTunes closed.

  • Publish calendars in iCal 4.0.4?

    In one of the recent upgrades, iCal changed from publishing calendars to "sharing" them. I want to embed an html snippet with my iCal in it, but if I can no longer publish my calendar it won't work. Is there a way in iCal 4.0.4 to publish a calendar, or at least embed a calendar in my iWeb? The way all of Apple's other programs interface so easily, I'd think this would be simple to do, so I hope I'm missing something here.

    Also looking to "Share" the content of an iCal calendar to my regular website. Since upgrading my calendars my previous solution using InstaCal stopped working. Anyone have an answer ??????

  • Is there a plain English guide to sharing iCal Calendars via OSX Server Mountain Lion?

    Is there a plain English guide to sharing iCal Calendars via OSX Server Mountain Lion? The present documentation is very limited and of no assistance to a beginner like me.

    I don't have a domain set up on OSXServer  I just have server.myserver.private. I have no mail services at server.myserver.private. I uses [email protected] (a different server)  as the email address in the setup process.
    When I go to share the calendar it requires a valid email address, rather than [email protected], so I enter my email address as a test, I try many other email addresses too but the server responds with an error stating " (email adress) was not recognized by the server.  A new invitation has not been sent.

  • ICal won't publish calendar to mobileMe... ideas?

    I've used iCal for years but since the changeover to me.com I can't get my iCal calendars to publish. When I click on "Publish calendar" it says it's published successfully, but when I click on the visit page button I get "page not found" error message.
    Anybody have any ideas?
    MJM

    bnance,
    ...are you saying your published calendar can currently be accessed from your ical.me.com link and that just ours is not working or was your answer a theoretical one?
    Mine works as advertised. I did have to unpublish, but that was in July. The calendar has auto published without problems since that time.
    The common clue that I notice between the OP and your system is that neither has been updated to the most current version of OS X available for the Tiger/Leopard. I would therefore advise updating these systems using the appropriate Combo Update (OS X 10.4.11/OS X 10.5.5).
    Good Luck.
    ;~)

  • Missing "dtend" entries on .ics files for a published calendar

    From the top... I am using iCal Version 2.0.5 (1069), Mac OS X 10.4.10, and The Missing Sync for Palm OS v6.0.1; also the MarkSpace Events and Tasks conduits to sync my Palm with iCal via iSync.
    My goal is to publish a grouped calendar to icalx.com (which I've used for years).
    When I publish the calendar, everything appears to transfer fine, and I can see the published calendars on icalx.com.
    HOWEVER, most events in the graphical views (such as day or week) appear to have lost their end times, and thus stretch to 11:59 PM that day (which would be the default).
    I have examined the .ics file that icalx.com is receiving from my local iCal app, and it appears that on many of the events there is no entry for DTEND (the date and time when an event ends). There is an entry for DTSTART. I experimented with changing the end time for an event in iCal, and then refreshing the published calendar. The result is that DTEND is now defined, and the event shows up properly. Simply entering the same event ending time in the end time field does not result in a proper ending time on the icalx.com calendar. Changing the end time in iCal by dragging the lower boundary of the event box DOES modify the time properly on the icalx.com calendar.
    What is perplexing is that the proper start and end times ARE shown in iCal, and on my Palm.
    Has this kind of behavior been seen by others? Any hints on how to correct it, or where to start?
    Thanks everyone for your help.

    OK, previously I went to the online version and clicked on the "Download" link in the left column, but I did not know if I re-published from the downloaded calender, would it replace/over-write the existing calendar or create a new.1.ics file.
    I think I had tried this before, and the version I was updating, did not seem to update the version others had subscribed to, even though, I thought, I had re-published the same calendar.
    Anyway, I have tested the "new" re-published calendars and they seem to be updating for the subscribers too.
    Is there a way to make sure that I don't have any orphaned calendars? Some of the calendars have changed names and I was wondering if I am able to what is exactly sitting on my ME account. I can't find any of the calendars when I log into the account.
    Any thoughts?
    Thanks
    Gary

  • Publish calendar to mobileme no longer works

    I've been publishing a calendar in iCal to mobileme for several years. After upgrading to Snow Leopard, I noticed that the publishing was not working (the icon next to the calendar in iCal indicated an error). So I unpublished and republished. I was told it was successful and give me that window with a button to view the published calendar. When I do that, Safari goes to the site but prints a message, telling me "We're sorry but we cannot find the iCal you've requested. It's possible that it has been deleted or renamed."
    I cut and paste the address into Safari - the URL that I was provided after a successful publish, and again got the same error. I've unpublished several times and republished, always successfully - so I was informed when the calendar was sent. But I always get the same error reported.
    I've gone to my mobileme via browser to check my iDisk and other features - they all work. My iCal is even correct when viewed. It's just the published calendar that can't be accessed.
    Anyone know what's going on or have a suggestion.
    Thanks.
    Well, I tried another search and have found a thread where users indicate the same problem. This seems to be a mobileme problem that I guess I'll have to wait until it is fixed.

    Yep, same problem. Won't show up via browser and the embedded calendar won't display in iWeb. I've changed the calendar name, exported and imported (removing unsafe alarms), shortened the calendar name as to exclude any numerical or punctuation including spaces and nada. Next step is to friggin create a new calendar from scratch and re-enter all the dates/info...but I'd still like to know what the heck is going on.
    Anybody have any other success besides creating a new calendar?
    PS - Confirmed that establishing a new calendar clears up the problem. The fun of data entry for all those appointments...
    Message was edited by: Tak-Seng

Maybe you are looking for

  • Attaching Search Help for screen field in standard transaction

    Dear All, I want to attach my own custom search help for field 'Requiremenr Tracking Number (BEDNR) in PO (ME21n). How can i do this? Pls gv the stps. Thanks a lot. Kind Regards.

  • Word 2007 crashes during autosave and when saving as .DOC

    Hi, I have a problem with Microsoft Word 2007. It crashes every time during autosave. It also crashes when I try to save a file as .DOC (even an empty new file). When I save it as any other file type it's fine.  I have already tried repairing the off

  • How to get Selection Screen in WAD?

    Hi Experts, I have designed a WAD where when executed, the selection screen does not come. It goes straight to the report. I have used a table for the Data Providers. What settings I have to make for the selection screen to pop out? Kindly guide me.

  • Exit code 7 in After Effects CC installation

    Recently I have had to change my hard disk which was in the partition "L". Now, I have to reinstall After Effects CC and in spite of setting the file allocation in "C", it gives me this error. Any solution? Thanks. I have Windows

  • BW Basic Knowledge needed

    Hello to all, Can anyone in here give me the SAP Basic BW knowledge that I need to know to start supporting the said system? In terms of issues encountered, I think for me is important to have knowledge is comparing data from R/3 and BW, how are data