>The following format contextif expression works fine for me to show 
>the bar only for Open dialog of notepad
>(win.caption("active")=="open" && win.exename("active")=="notepad")

That's similar to what I had originally and then pared it down while trying
to get it to work.  I tried what I think I had started with and now it's
working, so I guess I had a typeo somewhere.

>To help debug your situation, I suggest starting with no format 
>contextif.  Instead, create a bar button with a *info label like
>*info expr(win.caption("active"))
>Make sure it displays what you expect.  Then build up an expression 
>like above, which should show 1 iff notepad open dialog active.

Thanks for the tip on the *info bars.  I forgot about them.

Thanks,
Paul


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/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