Opening stacks from variables
J. Landman Gay
jacque at hyperactivesw.com
Sun Jan 5 13:53:00 EST 2003
On 1/4/03 10:23 PM, Rodney Tamblyn wrote:
> #note stack windows open. There's no way to determine what the name
> of the stack
> #being opened is so must compare against this list.
> put openStacks() into tStacks
> open stack (tData)
> #find out it's name
> repeat for each line x in openStacks()
> if lineOffset(x,tStacks) = 0 then
> put x into tStackName
> exit repeat
> end if
> end repeat
> #rename stack
> set the name of stack tStackName to "Example 1"
Wouldn't the just-opened stack always be the topstack? I think this
should work:
go stack tData
set the name of the topstack to "Example 1"
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the metacard
mailing list