The Omni Group Forums

The Omni Group Forums (
-   OmniFocus Extras (
-   -   Python OmniFocus library for generating reports (

psidnell 2013-03-16 03:56 AM

[QUOTE=psidnell;121382]Thanks! I didn't realise there were two locations.

I might get it to check for both in the next update...[/QUOTE]

The latest version now checks both locations for the database stopping on the first match.

RobTrew 2013-03-16 11:42 PM

[QUOTE=psidnell;121433]checks both locations ... stopping on the first match.[/QUOTE]

For edge cases where both locations exist (i.e, where installation history has been complex retreats from the AppStore, multiple testing versions etc) you can use an osascript system call to get the bundle name of the active installation, and use this to decide whether to look in the .MacAppStore folder or the vanilla OF folder.

Something like:

[CODE]tell application "Finder" to id of application file id "OFOC"[/CODE]

will either return:[LIST=1][*]com.omnigroup.OmniFocus[*]com.omnigroup.OmniFocus.MacAppStore, or[*]an error if neither is installed.[/LIST]
FWIW there's more on first-aid for the appstore version at:


psidnell 2013-03-17 01:08 AM

Cool - thanks. There's no escaping applescript though is there :-)

psidnell 2013-04-08 11:26 AM

This has mutated into a more general purpose command line utility for exporting reports into html, opml, text, markdown or taskpaper with various filters.

I've finally got around to writing some documentation [URL=""]HERE[/URL]. Not quite finished, but a start...

There's still plenty more I want to add but it should be useable, particularly for exporting reports of completed tasks.

psidnell 2013-04-11 11:54 PM

Given the changes I've renamed the repo from "omnifocus" to "ofexport".

The documentation is now [URL=""]here[/URL].

I'll add a new post in the forum with a more helpful title.

All times are GMT -8. The time now is 01:28 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.