new trick, for me

Peter Brigham MD pmbrig at gmail.com
Fri Mar 4 13:05:05 EST 2011


Just discovered a trick I didn't know about. This is in the IDE, BTW.  
I needed to have the first card of one of my stacks as the current  
card, while I do something from another stack (a utility stack). If I  
"go card 1 of stack <stackName>" then the stack <stackName> comes to  
the front, but I want to keep the utility stack as the topstack, so  
even following this by "go back" or some such looks messy on screen.  
Instead, I can do this:

    set the currentcard of stack <stackName> to \
            the short name of card 1 of stack <stackName>

and it all happens in the background.

Probably others knew about this, but I didn't, so I'm posting it for  
those like me for whom it is a new trick.

-- Peter

Peter M. Brigham
pmbrig at gmail.com
http://home.comcast.net/~pmbrig





More information about the use-livecode mailing list