I've got a bar that I only want to appear for a certain dialog box, in a
certain application (specifically, the Filters dialog box on the PowerDesk
application).
 
My original bar format command is this:
 
     Format Context Filters
 
which works fine, except that the bar also appears for other apps that have
a filters dialog.
 
Looking the help, it appears that the Context won't take multiple
expressions, but the Format ContextIf will.  So I changed my call to that
seems to be me to be the equivalent call of
 
   ( window.caption("active") eq "Filters" ) 
   ( win.caption(win.getfocus()) eq "Filters" )
 
but that doesn't work.  The bar doesn't show.
 
I put the window.caption("active") call into win.debug called from the bar
using the original expression, and it returns a blank.  Is there another
command that I should be using?
 
My next step is to include the PowerDesk exe name in this expression, but
until the first part works correctly, there isn't much point.
 
BTW, Is there a way to nest *Format Context calls?  I tried that first, and
the 2nd format call was ignored.  The help didn't say anything about nested
formats that I could see.  haven't tried subbars yet because I wanted to
know if I should be able to next format calls first.
 
Thanks,
Paul


[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to