The Omni Group

Go Back   The Omni Group Forums > OmniFocus > OmniFocus Extras
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
Omnifocus to Omnioutliner (including columns) Thread Tools Search this Thread Display Modes
I have drafted an applescript which I am using to export Omnifocus projects and tasks to Omnioutliner Professional, including the Context, Start Date, Due Date, Completion Date, Duration and Flagged columns.

No guarantees that it will work on your system, but it may be a useful reference, and you should be able to extend it to include any other columns that you may need.

Rob

Download page
  Reply With Quote
Seems to work for me

leopard 1.5.1
intel iMac

thank you

and not to look a gift horse in the teeth, but it does not send the formating with it...but it does get there
  Reply With Quote
No luck for me. I get "NSReceiverEvaluationScriptError: 3" with the first instance of "project" highlighted when run from Script Editor.

Tiger on PPC.
  Reply With Quote
Haven't yet found a way of reproducing that error with Leopard 10.5.1 and Omnifocus 96221, but it might be worth trying to run the script from the Omnifocus toolbar:

1. Copy the script to ~\Library\Scripts\Omnifocus
2. In Omnifocus choose View\Customize Toolbar, and drag the script onto the toolbar.

(It can be helpful before stage 1, to select the script, choose "Get Info" from the Ctrl-Click menu, select the icon at top left, and then paste an alternative graphic to serve as an icon for the script).

(The script seems, incidentally, to run faster from the the Omnifocus toolbar than when launched from Script Editor).

Note that I have now posted a new version which is intended to export only whatever is displayed and selected in the right-hand content panel.

Last edited by RobTrew; 2007-12-19 at 01:29 AM..
  Reply With Quote
Quote:
Originally Posted by librarymonkey27 View Post
not to look a gift horse in the teeth, but it does not send the formatting with it
Exporting the formatting is probably not an option for the moment - as far as I can see Applescript only has access to the raw text in Omnifocus.

A set of Omnioutliner styles might be your best bet.
  Reply With Quote
Quote:
Originally Posted by RobTrew View Post
it might be worth trying to run the script from the Omnifocus toolbar:

1. Copy the script to ~\Library\Scripts\Omnifocus
2. In Omnifocus choose View\Customize Toolbar, and drag the script onto the toolbar.
Nope, same error that way.

(Note that I'm posting this for the sake of anyone else trying to troubleshoot the script - I'm not expecting technical support from you! )
  Reply With Quote
Quote:
Originally Posted by Craig View Post
Nope, same error that way.
Would be interested to know whether this is occurring with the new version (which exports from selections in the right-hand content panel), and if so, on which line of code. (Also whether you are using OO Pro or plain OO - it is written for the former)

Last edited by RobTrew; 2007-12-19 at 05:47 AM..
  Reply With Quote
Yes, new version. Yes, OO Pro. Looked like the same error as before, so I assume the same location in the script I mentioned - the "project" in quotation marks after the doesn't-equal sign. (I've since deleted the script so can't confirm at the moment.)
  Reply With Quote
Quote:
Originally Posted by Craig View Post
I assume the same location in the script I mentioned - the "project" in quotation marks after the doesn't-equal sign
You mean

Code:
set blnContext to (selected view mode identifier ≠ "project")
?

That seems surprising, at first glance ...
  Reply With Quote
Quote:
Originally Posted by RobTrew View Post
You mean

Code:
set blnContext to (selected view mode identifier ≠ "project")
?

That seems surprising, at first glance ...
Oh, I've seen that problem: Tiger doesn't like the way Leopard encodes the ≠ character; I think Leopard uses Unicode and Tiger expects MacRoman or something along those lines.

The simple fix is to replace "≠" with "is not equal to".
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
OmniOutliner: Fastest way to set data in rows, columns or blocks? nelsonm AppleScripting Omni Apps 3 2009-07-27 02:45 PM
OmniFocus and OmniOutliner steve OmniFocus for Mac 6 2008-10-31 11:14 AM
FYI: Reconcile OmniFocus & OmniOutliner Ward OmniOutliner General 0 2008-10-08 10:37 AM
OmniFocus vs OmniOutliner egentz OmniFocus for Mac 7 2008-08-27 11:36 PM
No custom columns in export to OmniOutliner tjsnell OmniPlan General 1 2006-12-28 09:11 AM


All times are GMT -8. The time now is 06:25 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.