43 Folders

Back to Work

Merlin’s weekly podcast with Dan Benjamin. We talk about creativity, independence, and making things you love.

Join us via RSS, iTunes, or at 5by5.tv.

”What’s 43 Folders?”
43Folders.com is Merlin Mann’s website about finding the time and attention to do your best creative work.

Refresh subscribed iCal calendars?

Hey,
This is for any applescript gurus in the 43folders crowd...

I've got a Google Calendar that I use for all of my calendaring needs. I have subscribed to my GCalendar with iCal (1.5.5 -- I still have Panther) in order to sync the calendar to my iPod.

Unfortunately, unless I open and refresh my calendar every day, it doesn't seem to refresh the subscription on it's own. I've tried the following applescript, but it's just opened iCal without refreshing my subscribed calendars. Any suggestions?

tell application "iCal"
	launch
	reload calendars
end tell

Thanks so much for any advice/assistance!

TOPICS: Mac OS X
NurseGirl's picture

Sorry, I wasn't clear enough. I...

Sorry, I wasn't clear enough.

I can get iCal to auto-refresh if I leave it open. What I'm hoping for is to be able to write a script that opens up iCal, refreshes it immediately, and then closes it (so it isn't taking up additional memory). For some reason, the "reload calendars" applescript command doesn't seem to do this.

I wonder if there would be a way to set up a script that opens up iCal, and then closes it 20 minutes later (guaranteeing that it would have time to refresh)? Maybe with a scriptable timer app. I'll try it out and see how it works.

Quote:
BTW: Why not just use iCal rather than Google Cal? Just curious as to why one would use Google Cal if on a Mac.

I have a Mac at home, but use Windows and Ubuntu boxes at work, so I've found the gMail & Google Cal combo priceless.

 
EXPLORE 43Folders THE GOOD STUFF

Popular
Today

Popular
Classics

An Oblique Strategy:
Honor thy error as a hidden intention


STAY IN THE LOOP:

Subscribe with Google Reader

Subscribe on Netvibes

Add to Technorati Favorites

Subscribe on Pageflakes

Add RSS feed

The Podcast Feed

Cranking

Merlin used to crank. He’s not cranking any more.

This is an essay about family, priorities, and Shakey’s Pizza, and it’s probably the best thing he’s written. »

Scared Shitless

Merlin’s scared. You’re scared. Everybody is scared.

This is the video of Merlin’s keynote at Webstock 2011. The one where he cried. You should watch it. »