Outlook to OmniFocus2 – take 11

Cursor_and_Searching__Drafts_ omnifocus 2 Outlook to OmniFocus2 – take 11 Cursor and Searching  Drafts  300x115

This is the 11th installment of my little OmniFocus script which will turn Emails into tasks. This version has only been tested with the release version of OmniFocus2. It will most likely not work with OmniFocus 1. For OF1 please use the latest version here.


  • I have created an updated version of the script as recommended by Adam (thanks a lot @Adam).
  • Please give me feedback if this fixes your problems. On my system v10 works just as well.


  • fix for empty subject lines (provided by Paul and Peter)
  • added mail headers (from, date) to content of the note (provided by Paul)
  • does not rely on a separate jar tool anymore and should therefore be more compatible with older Mac OS versions. (courtesy of someone on the omnifocus forums whos name I forgot unfortunately)
  • configuration options
    • delete mail after turning it to an omnifocus task
    • target mail folder for moving the processed mail (note that this does not work in combination with mail deletion, please choose either delete or move)
    • bring omnifocus to the front
    • put cursor into a specific field in the quick entry panel
    • open quick entry panel (or just add the task silently to inbox)

Install instructions:

  1. Double click the zip file to extract it
  2. Copy the contents of the zip file to <userhome>/Documents/Microsoft User Data/Outlook Script Menu Items (you can do this even easier by opening Outlook, selecting the script menu item “About this menu…” and then click “Open Folder”. Update: on the latest version of Outlook this location is now <userhome>(Library/Applications Support/Microsoft/Office/Outlook Script Menu Items (thanks Mike for noting that)
  3. that’s it

Note to non-english office users:

Your Outlook Script Menu Items folder is in a different location. Please go the route via “About this menu” explained in point 2!

Usage instructions:

  1. select a mail in outlook
  2. open the script menu and choose  ”Send Outlook to Omnifocus” (see screenshot) or alternatively just press CTRL+O (o, not zero)

Configuration instructions:

So if you want to tweak the settings of the script, bring up the file in the outlook menu items folder and double click it.

This will open AppleScript editor (if it does not, then you can try right click and choose Open with…). In applescript editor you will see a configuration block on the top of the file. Change the values as documented in the script, save it and you should be fine.

Note that a few settings rely on other settings to be configured (i.e. currently omnifocus activation will only be invoked if the quick entry panel is switched on). If you find those restrictions too cumbersome, let me know and I will look into that.




Q: When I click on the email in Omnifocus2 then TextEdit (or some other mail program) opens, what should I do?

The problem is that the script will save the file with a “.elm” file extension. Most often this extension is not registered with Outlook. So once TextEdit opens, copy the file to your desktop. Then Open the Info Panel (CMD-I) and then choose “Open With…” -> Outlook. Finally click “Change all..”.

Q: I am getting weird errors (Omnifocus got an error: Can’t get <FCDo>). Whats wrong?

Looks like you have the standard version of Omnifocus2. In order for applescript to work you need the pro version.

13 Gedanken zu „Outlook to OmniFocus2 – take 11“

  1. Good morning Rainer – not sure what happened, the issue from V10 is back again – I noticed, that the icon within OF2 for the mail is different (when the created link is working it is an nice envelope symbol, if not it is just a blank icon) – any ideas? …

  2. after reboot problem is solved, but now:
    OutlookMsg132971.olk14_message” is damaged and can’t be opened. You should move it to the Trash.

    any ideas

    Great script thanks

    1. Hi. Regarding all of you having the damaged mail problem. My current theory is that this happens only on the app store version of OmniFocus. I hope that I get some confirmation from someone trying both. If that is the case I am not sure whether there is a good way to get around the sandboxing issue. I might need to ask Omni for a solution.

  3. Hi Rainer: Thank you very much for the excellent script. I have been using your OF1 version in the past and now have moved to OF2 version of the script. Unfortunately I am also getting the damaged mail problem when opening the email attached to the task. I can’t open the files attached by the OF1 version also.

    FYI, I am using the PRO version from the App Store. Kindly suggest. Thank you very much.


  4. All,

    My edited version of Rainer’s v10 script is still working for me without issue. One thing that I noticed in Rainer’s description above is that he says he’s using the “.elm” file type with the file created. I assumed that that was a typo, but if that is indeed the suffix he’s using, that might be the problem. the File type needs to be “.eml”, which is a file type that Outlook 2011 should recognize natively. Open the script in an Applescript editor, make that change and recompile, and with a little luck, your problem should be solved.

    Best regards,


    1. Hi Adam,

      I also had the problem with the broken mail error (Outlook Mac 15.3, Omnifocus Pro 2.0.4) With your idea I solved the problem. I opened the file in apple script editor and changed the file type to .eml. Then I set Outlook as default program for this file type. Now it works great – thank you. And thanks Rainer for this awesome script. Maybe you can change the file type in a future version.

      Best regards.


Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.