Unfortunately FileMaker does not offer a means to do this directly. If you have FileMaker Pro Advanced, then you could generate a DDR ( Database Design Report ) to HTML or XML.
If you do not, then the only other option may be to Print each script to PDF and then copy / paste into a text editor.
Thanks! In fact I do have Filemaker Pro Advanced, so I'll explore that option.