On Sat, 18 Aug 2007 14:13:51 -0700, Paul Gabel wrote:

> Hi everybody:
> 
> I have 6 stacks with their windows open at the same time. Some are 
> hidden behind other stacks and then slide out from underneath (like a 
> drawer). But I can't figure out a way within scripts to tell which 
> stack is the "active" one, the one the cursor has last clicked on, 
> the one that is checked in the Windows menu. How can I do something 
> like: <if stack "ABC" is theActiveStack then ... > ?
> 
> This problem is frustrating me, and I sure would appreciate a little help.

Very close - look at "defaultStack" and "topStack" in the Dictionary. 
Basically "defaultStack" is the stack that is what you are talking 
about when you use "this" (like "the short name of this card"), and 
"topStack" is the frontmost stack with the lowest "mode" (usually 
meaning the frontmost topLevel window).

HTH,

Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to