You can use Manage Scripts to Duplicate the script and you can import a script from one file into another. You can also copy and paste script steps from one script to another using FileMaker Advanced.
But you can't treat it as text like you describe unless there is a plug in that offers that capability.
Thanks for the insight.
I was looking around and found a app called myFMButler that looks like you can put a script in a text editor and edit it then put it back in to FMP. Does anyone know if this product works?
I would be surprised if it did not. MyFMButler has been in use through many different versions.