Styled text

Hello,
Is there a way (scripting addition maybe) to have AppleScript modify text styles (bold, italic, etc.) and/or a RTF/HTML to styled text converter.

Thanks in advance,

Ronnie

You can find several examples of this at the Tex-Edit Plus web site.