Front and back window

Dar Scott dsc at swcp.com
Thu Jul 4 16:08:01 CDT 2002


On Thursday, July 4, 2002, at 01:17 PM, Yves Coppé wrote:

> Suppose you have two windows (two substacks open)
> With the stacksInUse function I can know which windows are open.
>
> Now, how can I know which of those windows is the frontmost window 
> and how can I write a script to bring a window which is in the 
> background to the front ?

You can get the info you want from frontMost, topStack and/or 
openStacks, depending on what you mean by front.

I think you can move a window to the front with go.  Just go to the 
stack.  Watch out for odd properties.

Dar Scott




More information about the use-livecode mailing list