--- In [email protected], "Gardner, Paul G."
<[EMAIL PROTECTED]> wrote:
>
> 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
>
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")
You cannot nest contextifs but the and can serve a similar purpose.
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.
------------------------ 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/