If I may add to Alex's suggestion for a script:

> If(Not(VisibleWindow("MENU1")))
>    Bar.Show("MENU1")

by using a script there is no need to start your
command line with C:\Program Files\PowerPro\powerpro.exe
because filename.powerpro is associated with powerpro.exe

So your command line can be:
C:\Program Files\PowerPro\Scripts\ShowBarMenu1.powerpro

Your script ShowBarMenu1.powerpro could be:

If(Not(VisibleWindow("MENU1")))
Bar.Show("MENU1")

which would show the bar if it is either closed or hidden,
but not if the bar is open and visible

Or it could be:

If(Not(AnyWindow("MENU1")))
Bar.Show("MENU1")

which would show the bar if it is closed,
but not if the bar is open and visible,
and not if the bar is open and hidden

Note: Everywhere above, "visible" includes a NotOnTop bar
which cannot be seen because it is behind another window,
and "hidden" means officially Hidden, not just obscured
by something else.



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