Archiv der Kategorie: Uncategorized

Outlook to Omnifocus2 – take 12

Cursor_and_Searching__Drafts_

This is the 12th 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.

Changes:

  • Corrected file extension of generated email to (.eml) as suggested by Adam (thanks a lot)

Features:

  • 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.

Download

SendOutlookToOmniFocus2-v12.zip

FAQ

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.

Q: I am getting errors where Outlook is stating that the email is broken?

My current theory is that this will typically only happen on app store versions. Please post your findings in the comments so that we can learn a bit more about this problem.

Meet Hudson: an awesome continuous integration server

I just wanted to recommend Hudson to anyone who is in development (primarily Java) and uses continuous integration for their process. In my company we have been using various products from freeware to commercialware in the past. Recently I stumbled upon Hudson and was seriously impressed by it. It supports SVN, CVS out of the box and can run shell builds, ant builds and a few others right out of the box.

It supports plugins for a lot of other projects (FindBugs, PMD, Emma code coverage, checkstyle, Ruby, …) and is an awesome tool to monitor and improve the quality of your software. The most useful feature is that it can aggregate all results and present them in a timeline (trend). So you can see how your unit test code coverage has changed over time, …

Screenshot of a typical trend view
Screenshot of a typical trend view

The screenshot above illustrates some of the graphs and analysis that hudson can produce. I know that I have previously focused on mainly Mac projects but this one obviously also runs on a Mac, I use it at work and best of all: its open source!