Sean> >Use win.caption("c=exploreWClass").

Paul > I put this into the ContextIF expression:
Paul > (win.caption("c=CabinetWClass") and win.debug(_file_) )

I don't think Sean meant use win.caption in that way.
I think he meant use it like this in the ContextIf:
(win.caption("c=CabinetWClass") == ?"Exploring c:\thepath")

[I cannot remember Windows Explorer's exact caption because
I replaced it at a system level with another file manager
and cannot easily show a standard Explorer window. So change
what is after the == to suit reality.]

The idea is to set Explorer's option to show the currently
viewed directory in Explorer's title bar, then compare that
instead of currentdir, to your chosen string.

Instead of the class, you could try this ContextIf condition:
(win.caption("under") == ?"Exploring c:\thepath")

If you want it to work for both two pane Explorers and one
pane (my computer view) and they have slightly different
titles, you could use:
(select(win.caption("under"),n) == ?"c:\thepath")
where n is the number of characters in c:\thepath



------------------------ 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