--- In [email protected], "swzoh" <[EMAIL PROTECTED]> wrote: > --- In [email protected], "swzoh" <[EMAIL PROTECTED]> wrote: > > --- In [email protected], "Gardner, Paul G." <[EMAIL PROTECTED]> > > wrote: > > > > > > >Use win.caption("c=exploreWClass"). > > > >You might need to use another class name, and should check > appropriate > > > >option in Folder Options to show the current path on the caption bar. > > > > > > I'm not sure that worked. When I put this into the ContextIF > > expression: > > > > > > (win.caption("c=CabinetWClass") and win.debug(_file_) ) > > > > > > My debug window isn't showing the correct value for _file_ > > > > > > I got the CabinetWClass using the Exec WindowInfo command. > > > > You can't use _file_, I think you already said so: > > (win.caption("c=CabinetWClass") == ?"your_path") > > Or > > (win.match(win.handle("c=CabinetWClass"),?"your_path")) > > You can use wildcards * in "your_path" in this case. > > BTW, why are you using ContextIf? Have you tried simply Context? > *Format Context your_path > You can use wildcards * in this case too.
I did a quick test. No, it seems that one can't use file path in Context, can use only file names. So, you can't use *Format Context ..., if you want to specify the path. Sean ------------------------ 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/
