Where is stack?

Mark Smith mark at maseurope.net
Tue Feb 20 05:14:30 EST 2007


Bill, this seems to work:

on mouseUp
   answer folder "Select destination folder for backup: "
   if it is not "Cancel" then
     revCopyFile the effective fileName of this stack, it
   end if
end mouseUp

Best,

Mark

On 20 Feb 2007, at 06:49, Bill Vlahos wrote:

> I want to be able to have the user easily make a copy of the stack  
> they are working on as a way to backup the stack. This would be  
> something like "Save a Copy".
>
> However, I don't want to change the active path of the stack. I  
> still want the stack they are working on to stay put and be the  
> working stack.
>
> The following button script doesn't work and gives this error
> 	Chunk: source is not a container
>
> on mouseUp
>   answer folder "Select destination folder for backup: "
>   if it is not "Cancel" then
>     revCopyFile this stack, it
>   end if
> end mouseUp
>
> How can I make this work?
>
> Bill Vlahos
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list