- Is the Cisco MARS mission going to abort?
- First iPhone worm spreads Rick Astley wallpaper
- 10 stunning 3D buildings made with Google SketchUp
- Open source software ready for big business
- Four reasons to buy (and one reason to avoid) the Droid
Is it too much to ask? All I want to do is to extract new calendar items from Outlook in iCal format every day at a set time. The reason for this is I am planning to buy a big, new Mac Pro (dual 3.0GHz quad core, dual graphics cards, 8GB RAM — yes, greed is an ugly, ugly thing) so that I can run VMware Fusion to host guest operating systems (including multiple copies of XP and Vista) alongside OS X, which is now my favorite desktop environment.
As a result I will be able to have one VM running XP with Office and other core tools and have other VMs with Vista and XP to run all the weird applications I test. Should any guest OS get trashed I can just roll back the VM image to a previous state. A bonus will be the opportunity to migrate over to iCalendar on OS X, which is far prettier than Outlook. Better still, if I use IMAP instead of POP3 I should be able to jump between systems with wild abandon while still having e-mail access.
Better better still, this will not only allow data sharing between Outlook and iCalendar, but also with the wonderful PHP iCalendar, which is just as pretty as Apple’s iCal.
Anyway, it shouldn’t have been too hard to figure out how to solve the Outlook to iCal part, should it? Well, unfortunately it was.
Microsoft, in its usual, inimitable way, designed Outlook so it can import iCal files but provided no support for exporting iCal data. You can imagine Steve Ballmer way back when the company was designing Outlook rubbing his hands and mumbling, “We will suck in all data but we will never let it go . . . we shall rule until the mountains crumble but that won’t matter because by then we’ll own them too, mwah-ha-ha-ha!”
I started by looking for an Outlook macro that could extract to iCal and found the excellent outlook2ical, written by Norm Jones. This is a Visual Basic macro that can export appointments from an Outlook calendar to an iCal formatted file (that’s an .ics extension).
Outlook2ical can export all appointments in a calendar or just those categories you specify. As it is written in VB it could be easily modified to make the selection of categories predefined.
Installing this macro is easy and it really works as an on-demand solution. But what I want is a regular scheduled export. And here’s where you run up against a brick wall: Outlook’s object model doesn’t support an onTimer function (see Microsoft’s fairly useless support article on the topic.
An external program could do the extract except for one thing: As soon as the program tries to access the Outlook data, Outlook requires you confirm that you want to allow access, which means that the process can’t be automated.
So, I haven’t yet been able to figure out how to make this work. It shouldn’t be that hard but it turns out it is, as far as I can figure out, impossible. Anyone have any suggestions?
Gibbs really should get away from using Outlook but old habits die hard. Tell him your solution at mgibbs@gibbs.com.
Partner Content
www.bmc.com
Gartner 2009 Magic Quadrant for Job Scheduling
Gartner has positioned BMC CONTROL-M in the Leaders Quadrant of their "2009 Magic Quadrant for Job Scheduling." The report assesses the ability to execute and completeness of vision of key vendors in the marketplace. Read a full copy today, courtesy of BMC Software.
Download whitepaper
Dell's SMART Approach to Workload Automation
Read a compelling case study by EMA, Inc. to learn how Dell uses BMC CONTROL-M to cut cost and increase productivity with workload automation.
Download whitepaper
Workload Automation Cost Savings 2 Minute Video
A major computer manufacturer uses BMC CONTROL-M and just four people to schedule and run over 85,000 jobs every month. By switching to BMC CONTROL-M, they more than quadrupled the workload without adding a single staff member. See how in this 2-minute video overview.
Go to video
Comments (4)
RE: Outlook to iCal but not automaticallyBy Peter on August 20, 2007, 11:34 amTry a brute force method: use PTFB (Google it) to push the Outlook confirmation button whenever it pops up.
Reply | Read entire comment
Open Connector GroupwareBy kervin on August 28, 2007, 1:00 pmHello, Though we are still in development. Our project, the "Open Connector Groupware" project [ http://openconnector.org/ ] is just what you are looking for. This...
Reply | Read entire comment
No help from MSBy Anonymous on September 7, 2007, 10:38 amI have to admit I get a big kick out of your articles. Let me see if I can get this straight. MX will not export to iCal. That makes them proprietary. What OS did...
Reply | Read entire comment
Outlook -> SyncMyCal -> Google -> iCalBy preset on October 3, 2007, 9:12 amHow about this? Push Outlook calendar up to Google with SyncMyCal; actually, you can sync calendars as well as (with the paid version) automate this Subscribe...
Reply | Read entire comment
View all comments