zip command?

Chipp Walters chipp at chipp.com
Fri Jun 28 15:01:01 CDT 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
file."

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

-Chipp

> -----Original Message-----
> From: use-revolution-admin at lists.runrev.com
> [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Ben
> Rubinstein
> Sent: Friday, June 28, 2002 5:26 AM
> To: use-revolution at lists.runrev.com
> Subject: Re: zip command?
>
>
> on 28/6/02 5:04 am, Jeanne A. E. DeVoto at jeanne at runrev.com 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 cogapp.com
>   Cognitive Applications Ltd   |  Phone: +44 (0)1273-821600
>   http://www.cogapp.com        |  Fax  : +44 (0)1273-728866
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list