Converting Glyphs to Superscript in Didesign

Hi

I am very new to Applescript and i am trying to piece together a script to go through a document and find a few glyphs like ® then change them into superscript.
this is what i have so far

tell application “Adobe InDesign CS3”
activate
if (count documents) = 0 then
display dialog “Please, open a document” buttons " OK " default button 1 with icon caution
else
set postion of character “®” to superscript
end if
end tell

I get this error

error “Adobe InDesign CS3 got an error: Can’t set postion of character "®" to superscript.” number -10006 from postion of character “®”

Is there nay one that an help??
thank you

Try this:

tell application id "com.adobe.InDesign"
	set find text preferences to nothing
	set find what of find text preferences to "®"
	set change text preferences to nothing
	set properties of change text preferences to {position:superscript, change to:"®"}
	change text document 1
end tell

Hi Shane

Thank you that worked a treat.