"save as" of stack file from a script

Peter Haworth pete at lcsql.com
Sat Jul 4 03:13:53 CEST 2015

What Richard said, except sounds like you know the filepath so just set the
filename to it.  Also be aware that when you "save as" the saved as version
of the file becomes the one you are working on not the version that was in

On Fri, Jul 3, 2015 at 5:56 PM Richard Gaskin <ambassador at fourthworld.com>

> Dr. Hawkins wrote:
>  > Anyway, if anyone knows where "save as" goes so that I can set its
>  > options and call it, it would be a great help.
> A mainstack has a filename property, which can be set from the value
> returned from "ask file".  Follow that with a save command and you're done.
> --
>   Richard Gaskin
>   Fourth World Systems
>   Software Design and Development for the Desktop, Mobile, and the Web
>   ____________________________________________________________________
>   Ambassador at FourthWorld.com                http://www.FourthWorld.com
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

More information about the use-livecode mailing list