zip command?

Chipp Walters chipp at
Fri Jun 28 15:01:01 EDT 2002

Ben et al.

Thanks for the help, but...

I put the following into a one-button stack:

on mouseUp
  put compress(URL "file:C:/test.bmp") into URL "binfile:C:/test.gz"
end mouseUp

Then tried opening it with the latest version of WinZip. It prompted me for
the full name of the file, then uncompressed it. Then I tried to launch the
test.bmp with several different image editors, with no luck. Photoshop says:
"Could not open the document because the file-format module cannot parse the

Any other ideas on how to make this work????


> -----Original Message-----
> From: use-revolution-admin at
> [mailto:use-revolution-admin at]On Behalf Of Ben
> Rubinstein
> Sent: Friday, June 28, 2002 5:26 AM
> To: use-revolution at
> Subject: Re: zip command?
> on 28/6/02 5:04 am, Jeanne A. E. DeVoto at jeanne at wrote:
> > At 8:58 PM -0700 6/27/2002, Chipp Walters wrote:
> >> Does anyone know if it's possible to ZIP files in RR? I want to take a
> >> folder of files and create a single .zip file. I know you can
> compress them
> >> to memory, but don't know if you can save the compressed stuff
> into a file.
> >
> > put compress(field "Outgoing") into URL "file:data.gz"
> Jeanne meant to write:
>     put compress(field "Outgoing") into URL "binfile:data.gz"
> ("file:" means treat the data as text, which means some bytes may get
> changed to reflect different line endings on particular platforms.  You
> don't want a hair on your data's head to be modified, so you need to use
> "binfile:" to specify that.)
>   Ben Rubinstein               |  Email: benr_mc at
>   Cognitive Applications Ltd   |  Phone: +44 (0)1273-821600
>        |  Fax  : +44 (0)1273-728866
> _______________________________________________
> use-revolution mailing list
> use-revolution at

More information about the Use-livecode mailing list