Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!crdgw1!uunet!blkcat!Uucp From: Henry.Halff@p911.f421.n109.z1.FidoNet.Org (Henry Halff) Newsgroups: comp.sys.mac.hypercard Subject: Re: Scripting from scripts Message-ID: <677520012.0@blkcat.FidoNet> Date: 21 Jun 91 03:12:11 GMT Lines: 29 >>How can I write scripts in to stack script from within script. For >example >>I have something like this: >> Ask "Where to go" >> DoLink(it) >>... >>Can I write something like Put "Goto stack "&it into Stack Script >>aleskine@saha.hut.fi > The simple answer is yes you can added information to the stack >script. >The method that you used will erase all of the information in the >stack >script though. Remeber you have to include function, or handler >headings. >If you want to keep information in the stack script try. > Put ... after last char of stack script >or > Put "..." after line ? of stack script Close, but no ceegar. Scripts are object properties, not containers, so you need to say set script of this stack to whatever or set script of this stack to script of this stack & return & whatever * Origin: The Clone: Macintosh Things - 301-946-8677 (1:109/421.911)