View Single Post
You can still work with references:

-- select a single task in the content panel of OF, and run

tell application id "OFOC"
	tell default document
		tell front document window
			set oTask to (value of first selected tree of content)
			tell oTask to set refNote to a reference to its note
			tell refNote
				insert "OmniGroup " at before paragraphs
				set refWord to a reference to first word
				set oStyle to a reference to style of refWord
				set oLink to a reference to attribute "link" of oStyle
				set value of oLink to ""
			end tell
		end tell
	end tell
end tell