Re: compression & type-creator code

2001-02-22 Thread Kevin Miller
On 22/2/01 7:31 am, Jim Sims <[EMAIL PROTECTED]> wrote: > Is there a way to eliminate this last step (setting the T&C 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 c

compression & type-creator code

2001-02-22 Thread Jim Sims
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