Perhaps you don't need that applescript at all. With export records, you have the option to use the current layout's data formatting so you might try exporting to a text file that you then open in MS Word. There's even a merge file option specifically set up for use with MS Word, but it was intended to produce Word formatted form letters so that may not serve any useful purpose for your project.
Unfortunately, the "current layout's data formatting" does not refer to text formatting such as bold, underline, etc. From my research, Filemaker has never been able to export text and retain such formatting, although you can copy and paste text and retain this formatting. That's why I need to write a script that will do that automatically for a selection of records.