View Single Post
I should mention that it's easier (and better supported) to create the tasks using AppleScript than to try to write OmniFocus transaction files by hand.

Code:
tell application "OmniFocus" to tell first document
	set actionContext to "Mac"
	set macContext to context named "Mac"
	set projectName to "Write an OmniFocus import script"
	set actionName to "Learn how to create OmniFocus actions using AppleScript"
	set actionNote to "See <http://forums.omnigroup.com/showthread.php?t=3662>."
	
	set newProject to make new project with properties {name:projectName, sequential:true}
	tell newProject to make new task with properties {name:actionName, context:macContext, note:actionNote}
end tell