View Single Post
Or perhaps more legibly:

-- 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
			set strLabel to "Omni Group "
			set strLink to "" as Unicode text
			set lngChars to length of strLabel
			tell refNote
				insert strLabel at before paragraphs
				tell characters 1 thru lngChars
					tell attribute "link" of its style to set value to strLink
				end tell
			end tell
		end tell
	end tell
end tell