Concatenating 2 stacks.

Richmond richmondmathewson at gmail.com
Thu Dec 16 05:26:19 EST 2010


On 12/16/2010 01:04 AM, Björnke von Gierke wrote:
> reading trough the backlog, sorry for late response.
>
> try to add the second stack as substack, and use 'go' as follows (this is of course a visual workaround, for not to need to mass-copy stuff):
>
> go stack "second stack" in window (the short name of this stack)
>
>

Thanks Björnke; the only problem with that method is that it would 
probably cause
complications in a standalone.

> On 11 Dec 2010, at 23:06, Richmond wrote:
>
>> On 12/11/2010 11:48 PM, J. Landman Gay wrote:
>>> On 12/11/10 3:04 PM, Richmond wrote:
>>>> I have 2 main stacks that I want to combine into
>>>> 1 stack, the 2 stacks following each other sequentially.
>>>>
>>>> But I don't know how to do this.
>>> There's no automatic way.
>> Grunts!
>>
>>> You have to copy the cards of stack 2 and paste them at the end of stack 1. If you have a lot of cards, you could write a script to do it. If the two stacks use different stack scripts, you'll need to manually edit the one in stack 1 and add any handlers that were only in stack 2.
>> Thanks for the help.
>>
>>> Alternately, you could set stack 2 to be a substack of stack 1. That's easy. Just change stack 2's "mainstack" in its property inspector.
>>>




More information about the use-livecode mailing list