SystemWindow equivalent for just one Application?

Ben Rubinstein benr_mc at cogapp.com
Wed Dec 15 12:57:01 EST 2004


on 15/12/04 3:46 pm, Geoff Canyon wrote

> Using the systemWindow property you can make a rev window float above
> all others. What if you only want to make it float above a certain
> application. The goal would be to make a Rev app that functions as an
> application-specific palette.

I'm sure you've already thought of this, but... on OS X, could you just use
a timer to check whether your target app is active, and hide or show
accordingly?  The problem is it might be quite expensive, even though you
probably don't need to check more than every few seconds.  On Windows, I
don't think there's such a thing as the active app, only the frontmost
window - but I think the same principle applies, it just might be harder to
establish which windows belong to your target app.

My 0.02,
 
  Ben Rubinstein               |  Email: benr_mc at cogapp.com
  Cognitive Applications Ltd   |  Phone: +44 (0)1273-821600
  http://www.cogapp.com        |  Fax  : +44 (0)1273-728866



More information about the use-livecode mailing list