dumping (exporting?) the scripts to text files

Klaus Major klaus at major-k.de
Wed Jul 30 04:06:01 EDT 2003


Konichi-wa Rees-san,

> Hunted around in the on-line docs and I found various kinds of import
> and export and information on saving text, fields content, etc. to 
> files,
> but I didn't find anything about saving the script itself to a text 
> file.
>
> I'm sure it should be doable, because one of the most necessary tools
> when porting a hyperscript stack is to be able to run a multifile 
> global
> search-and-replace, and that works best if I can get the script text
> into files and, say, open them in BBEdit or simply massage them with
> perl.
>
> Also, I am going to need to mass-convert these scripts from shift-JIS 
> to
> Unicode, and I really don't want to cut and paste the scripts of 
> several
> thousand objects in Mac OS-9, where I can control the interpretation of
> the encodings.
>
> Hmm. Perhaps everyone just writes metatalk/transcript scripts to do
> these kinds of tasks?

Please take a look at:

http://www.major-k.de/revstart.html

Scroll down the page to my plugin "Analyze it..."

Maybe this could be helpful to you?

> -- 
> Joel Rees, programmer, Kansai Systems Group
> Altech Corporation (Alpsgiken), Osaka, Japan
> http://www.alpsgiken.co.jp

Regards

Klaus Major
klaus at major-k.de
www.major-k.de




More information about the use-livecode mailing list