Export indesign to word document using apple script

Hi All,

I need to export Indesign to word document. I have tried with the following code.
First i’ve taken the parent story.

tell application “adobe indesign cs2”
set thedoc to active document
set xmlele to XML elements of thedoc
set xmlfi to first item of xmlele
set ps to parent story of xmlfi
set cont to text of ps —the parent story of xml

—'Here i need to export the parent story which i’ve already taken in ‘cont’ variable.

export format RTF to “user:desktop:test.rtf”

—but i’m getting error as 'the specified format does not support and also i dont know how to script for exporting this parent story (cont) as rtf file.

end tell

what should be the script for this?