compression type-creator code
I am using: on mouseUp answer file "which" put it into tFile put tFile ".gz" into tNewFile put compress(url ("binfile:" tFile)) into url ("binfile:" tNewFile) end mouseUp This will produce a compressed file that opens with 'StuffIt Expander' and the resulting decompressed file works fine after I have changed the Type Creator code (I use 'Snitch'). Is there a way to eliminate this last step (setting the TC code) so that the decompressed file is usable right away after decompressing with 'StuffIt Expander'? tia sims Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: compression type-creator code
On 22/2/01 7:31 am, Jim Sims [EMAIL PROTECTED] wrote: Is there a way to eliminate this last step (setting the TC code) so that the decompressed file is usable right away after decompressing with 'StuffIt Expander'? Set the fileType global before putting into the URL - it will then use create the file with that signature. Regards, Kevin Kevin Miller [EMAIL PROTECTED] http://www.runrev.com/ Runtime Revolution Limited (formerly Cross Worlds Computing). Tel: +44 (0)131 672 2909. Fax: +44 (0)1639 830 707. Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.