"save as" of stack file from a script

Richard Gaskin ambassador at fourthworld.com
Fri Jul 3 20:56:25 EDT 2015


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




More information about the Use-livecode mailing list