Opening a zipped file in RunRev?

Jim Hurley jhurley at infostations.com
Tue Mar 2 13:55:49 EST 2004


>
>Message: 6
>Date: Mon, 01 Mar 2004 19:01:15 -0800
>From: Scott Rossi <scott at tactilemedia.com>
>Subject: Re: Opening a zipped file in RunRev?
>To: How to use Revolution <use-revolution at lists.runrev.com>
>Message-ID: <BC6938FB.A977%scott at tactilemedia.com>
>Content-Type: text/plain; charset="US-ASCII"
>
>On 3/1/04 5:49 PM, "Dar Scott" <dsc at swcp.com> wrote:
>
>  >>> I don't suppose there is any way for RunRev to deal with a zipped
>  >>> file, i.e.,  myStack.rev.zip?
>>>
>>>  Sure - decompress it locally and then run it.  See the decompress
>>>  function.
>>
>  > But that's gzip.  Or has something new come along?
>
>The original example posted lists a stack as the zipped file.  Thus it would
>possible to compress the original stack and then decompress the stack
>wherever needed.
>
>Regards,
>
>Scott Rossi
>Creative Director
>Tactile Media, Development & Design
>-----
>E: scott at tactilemedia.com
>W: http://www.tactilemedia.com




Sorry Scott, I still don't get it. Take me through this. I have a 
stack file "MyStackFile,rev".

Do I compress the stack with something like:

    save this stack as compress(url "file:Macintosh HD/Desktop 
Folder/MyStackFile2.rev")

(This produces gibberish for the file name on my HD.)


And then what? Are you assuming the user (the person downloading this 
file from the web) is running Run Rev and that the Run Rev 
application has the instructions for decompressing the downloaded 
file and then opening it? And what does that code look like? Anything 
like:

     uncompress(url "file:??????)

And are we talking about zip files or gzip files?

Confused,

Jim



More information about the use-livecode mailing list