Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Sync subscribed iCal calendars to MobileMe via script' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Sync subscribed iCal calendars to MobileMe via script
Authored by: dfobert on Sep 23, '08 11:08:06AM

This drove me out of my mind for a while so I had to post. If you try to run the script as written (and commenting out the last section as the OP recommends) it will run find at the command line and fail if you try to execute it with launchd. Here's the details:

I spent a little bit of time and set this up to automatically run every 15 minutes through via launchd (using Lingon.) However, for some reason the script would not run. I opened up the terminal, ran the command "launchctl list" and found out that it was exiting with a status of 1, making the daemon drop it. The fix was to add ; exit 0 after the applescript. Works like a charm.

So if you're using Lingon, make sure that the "What" field reads something like:

osascript /Users/yourname/Documents/iCalGoogleSync.scpt ; exit 0
and it should work just fine

If you're new with Lingon and Applescript, I read through this blog post and found it a good refresher.



[ Reply to This | # ]
Sync subscribed iCal calendars to MobileMe via script
Authored by: franconi on Oct 28, '08 04:05:01PM

This hint is great. I am already using it for my iPhone.

Any clue on how to deal with recurring events? Once we have that, it's perfect.



[ Reply to This | # ]