Button script for "save as"

Revinfo1155 at aol.com Revinfo1155 at aol.com
Wed Aug 4 10:25:10 EDT 2004


Sarah-The script worked great-Thanks! Would it be possible for you to comment 
the script so I can understand what each command does? I'm a little lost. 
Thanks for your help.

jack

In a message dated 8/3/04 9:55:15 PM, sarahr at genesearch.com.au writes:


> You want to save a copy of your stack under another name?
> 
>    ask file "Save stack as:"
>    put it into newName
>    if newName is empty then exit to top
>    save this stack as newName
>    put the fileName of this stack into tCheck
>    answer "Stack saved to file: " & tCheck
> 
> The revMenuBar uses this:
>      revSaveAs the short name of the topStack,false
> 
> Cheers,
> Sarah
> 
> 
> On 4 Aug 2004, at 11:42 am, Revinfo1155 at aol.com wrote:
> 
> > I need a button script that accomplishes the same thing as the "save
> > as " in the file menu. I tryed scripting around the ask file command
> > but I'm leaving something out as it will not create the file. Any help
> > to get me on the right path will be appreciated.
> >
> > jack
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 



More information about the use-livecode mailing list