compress/decompress on OS X
Klaus Major
klaus at major-k.de
Wed Nov 3 15:19:03 EST 2004
Hi Richard and all,
> RGould8 at aol.com wrote:
>> In a message dated 11/3/04 10:59:43 AM, soapdog at mac.com writes:
>>> Also, I think that some way back Richard or Chipp create a
>>> compressin/decomprerssion utility stack in rev... search the
>>> archives.
>>>
>>> Andre
>>>
>> If there's a compression/decompression utility stack, I'm definitely
>> interested. I wonder if I'm searching the wrong archives - - - I'm
>> just not pulling up any examples of successful Mac OS X application
>> compression/decompression. Lots of posts about
>> compressing/decompressing binary data into Rev stacks however.
>
> It's tedious, but not difficult:
or one can peep in the script of btn "revbackscript" of cd 1 of stack
"revlibrary"
and search for "revcompress"/"revdecompress" :-)
It is undocumented, but does exactly that!
I did not test it yet, if someone does, please tell us if it works with
OS X
application bundles, thanks :-)
> - get the directory which is the .app bundle
> - get its contents recursively
> - read of of those files into custom props in a stack file
> - store the short path to the file in a custom prop
>
> On the flipside, to restore:
> - walk through the custom props, writing out the stored data to the
> stored paths.
>
> --
> Richard Gaskin
> Fourth World Media Corporation
> ___________________________________________________________
> Ambassador at FourthWorld.com http://www.FourthWorld.com
Regards
Klaus Major
klaus at major-k.de
http://www.major-k.de
More information about the use-livecode
mailing list