The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniFocus > OmniFocus 1 for Mac
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Applescript: Importing from iGTD to OmniFocus Thread Tools Search this Thread Display Modes
Here is a link to a rough draft of an Applescript which I have used to import my iGTD projects tasks and contexts into OmniFocus for testing purposes.

Only intended for testing and reference, and others are welcome to modify and improve it.

Note that it leaves all trees collapsed by default, so you may want to use View/Expand all in the left and right panels of OmniFocus after any import.

http://web.mac.com/robinfrancistrew/...OmniFocus.html

Last edited by RobTrew; 2007-06-25 at 07:25 AM.. Reason: Link to new version
 
I tried twice but couldn't get past an error:
+----
Can't get item 4 of {"Chair", "Fatham - Talk to IT", "Others on campus use it:? Bob Jones?"}.
+----

which occurs here:

-- Set context (if specified)
set strValue to (item 4 of oFields)


As a result, some of my projects/tasks import, many others don't.
 
Thanks for testing it !

It would be interesting to know why there are 3 fields rather than the expected 9 at that point.

I have sent you a private message.
 
I have fixed a bug which stopped the script on items will multi-line notes.

http://web.mac.com/robinfrancistrew/...OmniFocus.html

Last edited by RobTrew; 2007-06-25 at 07:26 AM..
 
Quote:
Originally Posted by RobTrew
I have fixed a bug which stopped the script on items will multi-line notes.

Here is version 0.02
Thanks, Rob - that fixed the error I mentioned above. Everything seems to have come across into OF.
 
I tried the first version and it failed in the middle but this version imported all of my items great.

Thank you for writing this.
 
Suggestions for improvement are welcome.

It does not yet import specifications for repeats. I'll do that soon.

Any further versions will be on:

http://web.mac.com/robinfrancistrew/...OmniFocus.html
 
Version 0.04

Which you can download from

http://web.mac.com/robinfrancistrew/...OmniFocus.html

Now includes the importation of iGTD repeat intervals, and fixes a bug which could cause the script to stop in some circumstances with nested projects.
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing graphics with Applescript hardcoreUFO OmniGraffle General 3 2008-06-25 01:01 PM
iGTD to Omnifocus importer now has progress bar RobTrew OmniFocus Extras 24 2008-02-13 11:13 PM
iGTD to Omnifocus (OS X international settings) RobTrew OmniFocus Extras 0 2007-12-12 03:20 AM
Importing iGTD archived items RobTrew OmniFocus Extras 4 2007-07-31 08:31 AM
Importing from iGTD brendon2020 OmniFocus 1 for Mac 0 2007-07-03 12:35 PM


All times are GMT -8. The time now is 12:47 PM.


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