Outlook to Omnifocus, take 6

This is a new and improved version which fixes problems with senders that don’t have a name.

Features:

  • configurable growl notifications (provided by Paul)
  • 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
    • growl enabled
    • delete mail after turning it to an omnifocus task
    • 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”.
  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.

Download

OutlookToOmnifocus-v8.zip

8 Gedanken zu „Outlook to Omnifocus, take 6“

  1. The script stopped working with growl 1.3 because I think they changed the way growlhelper works.

    Using this info: http://growl.info/documentation/applescript-support#growlisrunning

    I was able to tweak the script for me and it works again.. maybe I had an older version of the script.?

    The changes I made:

    set isRunning to (count of (every process whose bundle identifier is “com.Growl.GrowlHelperApp”)) > 0

    tell application id “com.Growl.GrowlHelperApp”
    ….

    To diff/see my changes: http://dl.dropbox.com/u/261443/OmniFocusOutlookScript/new.scpt
    (It may take a while for it to get to dropbox..)

  2. Extremely useful script.. Is there a way to tweak it such that it would go into a specific folder/project within OF instead of Inbox ? And can we apply a default Context to it ? Would save a lot of processing time for me as I have about 50 emails that would go into OF..

    Thanks in advance !
    Once again thanks a lot for this amazing script !

    Cheers,
    Pash

    1. Hi Pash, sorry for not getting back earlier. I guess I overlooked your comment and only picked it up today (whoops). The things that you describe are possible but would be a bit more work. Since I moved away from Outlook this is a bit more than I really have time for. However, the line you are looking for is probably

      set NewTask to make new inbox task with properties {name:theTask, note:theTxtContent}

      There we specifically create the task in the inbox. I guess you would need to change it to something like

      set NewTask to make new task with properties {name: theTask, note:theTxtContent, context: theContext}

      where theContext would need to be a previously looked up context object.
      However, I typically just change the settings in the quick entry panel which is typically faster.

  3. Love the script, however I am getting an error when I run the script “OmniFocus got an error: Unable to read file from ‘/tmp/OutlookMsgXYZ_olk14_message’ (Where XYZ is a random message number) it happens on any message with or without an attachment.

    OmniFocus v2 2.0.1 (v87.8 r211619)
    Outlook 2011 v14.4.3 (140616)
    OSx 10.9.4

    Thanks

Hinterlasse eine Antwort

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

Du kannst folgende HTML-Tags benutzen: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>