Save Stack Locally

Richard Gaskin ambassador at fourthworld.com
Fri Dec 8 14:29:37 EST 2006


jhonken wrote:
> I'm trying to save a stack that I'm pulling from the internet locally.
> My code doesn't error it just doesn't save it.  Am I using the wrong
> syntax?
>  
> --> Launches Stack
> go stack URL "http://www.x12.com/x12provider.rev" 
> 
> --> Saves Stack
> save stack URL "http://www.x12.com/x12provider.rev" as x12provider.rev

I don't think the "as" option works with the save command; not sure why 
it doesn't error though.

Try setting the stack's filename property before saving:

   go stack "http://www.x12.com/x12provider.rev"
   set the filename of this stack to "x12provider.rev"
   save this stack

--
  Richard Gaskin
  Managing Editor, revJournal
  _______________________________________________________
  Rev tips, tutorials and more: http://www.revJournal.com



More information about the use-livecode mailing list