Hi Bill,

If you have your stack in a custom property, you can create a new stack in 
memory by simply going to that custom property. This means you don't need to 
clone the stack. Changing the name is enough.

go to stack the cTemplate of stack "Your Main Stack"
put "Template" && the millisecs into myNewName
set the name of stack "Template" to myNewName

Use the name to refer to the stack in memory and change its title to make it 
look nice.

You can repeat this as many times as you like. Note that the name of your stack 
in memory usually doesn't include the .rev file extension and also note that 
file names and stack names may be different.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Become our partner in sales http://qery.us/1bq Start selling Color Converter 
today. 20% commission!

On 8 jan 2012, at 05:59, Bill Vlahos wrote:

> I know how to clone a stack that exists on disk:
>      clone stack ("path to file on disk")
> 
> I want to embed the stack in a custom property of the main stack and clone it 
> from there. Lets say the stack name is "template.rev" and I add it to the 
> uTemplate of this stack.
> 
> What would be the clone command syntax for this?
> 
> Thanks,
> Bill Vlahos



_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to