"Patton, Paul B (MN10)" <Paul.B.Patton@hbc.honeywell.com> writes: >Question: What is the best way for a MPW build command to generate >a MacPerl MacHTTP CGI Script? Probably some Rez command line. >I read through the MacPerl.Frontend document and it looks like >MacPerl's "Save" AppleScript event is intended to automate this job >but I don't know how to invoke it from MPW and I don't know what glue >might be needed. AppleScripts from MPW seem to be a little unstable, although I'm not sure why. Sending an AppleEvent directly would be preferrable. >script itself is in an easy-to-understand TEXT resource, but there is >a binary resource of type TFSS, id 255, that varies quite a lot, I >don't know what its purpose is, and I don't know how to generate it >except via MacPerl. The TFSS stores window dimensions, the font, the size, and maybe a few other things. Simply copying it should be OK (The variations come from the fact that I don't zero out some Str255, but are harmless). Matthias ----- Matthias Neeracher <neeri@iis.ee.ethz.ch> http://www.iis.ee.ethz.ch/~neeri "One fine day in my odd past..." -- Pixies, _Planet of Sound_