Can I save stack when called from stub application?

RGould8 at aol.com RGould8 at aol.com
Thu Jun 10 11:19:45 EDT 2004


This is all fantastic info - - - now just so I understand, if I want the 
changes to get saved back to the server, I have to have Revolution FTP the file 
back up, as opposed to doing a

set the filename of this stack to "http://myserver/path/scheduler.rev"


In a message dated 6/9/04 10:26:59 PM, kray at sonsothunder.com writes:


> In addition to Scott's suggestion, the other thing you can do is give it a
> fileName. You see, when you load a stack into memory (either as a result of
> getting a stack from the web, or by cloning a stack), it doesn't have an
> actual filepath. In fact, if you amended your button to read:
> 
> on mouseUp
>   answer the fileName of this stack
> end mouseUP
> 
> you'd note that you get nothing in your answer box. So to save the stack you
> first need to set a file name for it, and THEN save it. Like:
> 
> on mouseUp
>   set the fileName of this stack to "/Users/kenray/desktop/myStack.rev"
>   save this stack
> end mouseUp
> 
> HTH,
> 
> Ken Ray
> Sons of Thunder Software
> Email: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.com/
> 



More information about the use-livecode mailing list