compress/decompress on OS X

Jan Schenkel janschenkel at
Tue Nov 9 09:31:11 CST 2004

--- Cubist at wrote:
>    Perhaps I'm missing something, but it seems to me
> that it should be 
> possible to create a Rev-only compression utility
> which can handle any number of 
> files, on any platform that Rev supports.
>    Step one: Create a new stack.
>    Step two: Do a binfile read of whichever file.
>    Step three: Stick the binary data of that file
> into a custom property of 
> your new stack.
>    Step four: Repeat 2 and 3 as needed, until there
> are no more files to 
> compress.
>    Step five: Use gzip to compress the resulting
> stack.
>    Can anyone think of a reason that this technique
> *wouldn't* work?

On a Mac, you'll also want to incolude the resource
fork ; which you can do by means of a "resfile:" read
of said file -- other than that, it seems the right

Jan Schenkel.

Join us at the European Revolution Conference
November 14-16, MALTA. ~

"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)

Do you Yahoo!? 
Check out the new Yahoo! Front Page. 

More information about the use-livecode mailing list