View Single Post
Hrm; this was working but something in the attachment code seems to have broken. Definitely log a bug.

One issue that you need to be aware of is that since there is no AppleScript native type for rich text, if you do:

set MyNote to note of MyProject

it will be coerced to plain text. This isn't likely to change, but what should work is something like:

Code:
tell application "OmniFocus"
	tell default document
		set note of project "b" to note of project "a"
	end tell
end tell
or a subrange of the note:

Code:
tell application "OmniFocus"
	tell default document
		set note of project "b" to paragraph 1 of project "a"
	end tell
end tell
__________________
CTO, The Omni Group