Re: load and go of gzipped stacks?
- Original Message - From: "Richard Herz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 25, 2001 9:18 AM Subject: load and go of gzipped stacks? > I'm experimenting with using "load url" and "go url" to download and run > stacks from web servers. Is there a way to download gzipped stacks, > decompress() them and run them using these commands? I imagine one could > get the gzipped stack, put it into a variable, decompress() it, write it to > a disk file, then open the stack from there. But is there a way to do it > with load and go? This works: 1) Make a one-card stack that has a button and a field. 2) Put this handler in the button script: on mouseUp load url "http://members.home.net/phildavis/mc/test/joneslib2.mc.gz"; \ with message "expandDownload" end mouseUp 3) Put this handler in the card script: on expandDownload pURL,pStatus put the params into fld 1 go decompress(url pURL) unload url pURL end expandDownload 4) Click the button! Regards, Phil Davis > > Thanks > Rich Herz <[EMAIL PROTECTED]> > > > Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ > Info: http://www.xworlds.com/metacard/mailinglist.htm > Please send bug reports to <[EMAIL PROTECTED]>, not this list. > > Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to <[EMAIL PROTECTED]>, not this list.
Re: load and go of gzipped stacks?
Recently, Richard Herz wrote: > I'm experimenting with using "load url" and "go url" to download and run > stacks from web servers. Is there a way to download gzipped stacks, > decompress() them and run them using these commands? I imagine one could > get the gzipped stack, put it into a variable, decompress() it, write it to > a disk file, then open the stack from there. But is there a way to do it > with load and go? I'm doing the former option with some stacks, and am also using base64 decoding. Works great. This isn't explicitly handled by load or go, but if you want to see the scripts, lemme know. Regards, Scott _ Scott Rossi Tactile Media - Multimedia & Design Creative Director Email: [EMAIL PROTECTED] Web: www.tactilemedia.com Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to <[EMAIL PROTECTED]>, not this list.
Re: load and go of gzipped stacks?
Richard Herz wrote: > > I'm experimenting with using "load url" and "go url" to download and run > stacks from web servers. Is there a way to download gzipped stacks, > decompress() them and run them using these commands? I imagine one could > get the gzipped stack, put it into a variable, decompress() it, write it to > a disk file, then open the stack from there. But is there a way to do it > with load and go? After you "load url" you do 'put decompress(url the-url) into url "file:new-location"' and then you 'go url "file:new-location"' or something like that. You can do it without writing to file, just in variables, in which case after you decompress the data you would "go variable-name". > > Thanks > Rich Herz <[EMAIL PROTECTED]> Andu Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to <[EMAIL PROTECTED]>, not this list.
Re: load and go of gzipped stacks?
Richard Herz wrote: > > I'm experimenting with using "load url" and "go url" to download and run > stacks from web servers. Is there a way to download gzipped stacks, > decompress() them and run them using these commands? I imagine one could > get the gzipped stack, put it into a variable, decompress() it, write it to > a disk file, then open the stack from there. But is there a way to do it > with load and go? After you "load url" you do 'put decompress(url the-url) into url "file:new-location"' and then you 'go url "file:new-location"' or something like that. You can do it without writing to file, just in variables, in which case after you decompress the data you would "go variable-name". > > Thanks > Rich Herz <[EMAIL PROTECTED]> Andu Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to <[EMAIL PROTECTED]>, not this list.