compress/decompress on OS X
janschenkel at yahoo.com
Tue Nov 9 09:31:11 CST 2004
--- Cubist at aol.com 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
> Step five: Use gzip to compress the resulting
> 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
Join us at the European Revolution Conference
November 14-16, MALTA. ~ http://TechieTours.com/Rev/
"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