Detect background application...

J. Landman Gay jacque at
Tue Jun 8 22:11:59 CDT 2010

Simon Lord <slord at> wrote:

> Is there a way to have a stack know if it's not *focused*?  Can this
> also be done if the stack is not the foreground application?

If your stacks use standard windows, you can check whether the stack 
you're interested in is the topstack or not. (It won't work with 
palettes and modals.) That should still work even if the app itself is 
in the background. I'm assuming you're running a script in Rev that 
needs the info.

Jacqueline Landman Gay         |     jacque at
HyperActive Software           |

More information about the use-livecode mailing list