--- In [email protected], "Gardner, Paul G." <[EMAIL PROTECTED]> wrote: > > > win.childtextbyindex(=totalcmd,14) > > > 14 returns the content of TC's left pane filter, 21 the right pane filter, > 9 the current folder of the selected > > pane (left or right). At least with my TC configuration. > > Not sure what you mean by 'content of TC's left pane filter', but on my > config it's the path of the left pane (edit box just above the actual > directory contents). There doesn't seem to be a good way to reliably > identify the various parts of TC's interface, and the indexes change as > various GUI elements are turned on and off, so they're going to be different > for most people. 9 returns blank for me ( I would guess that you have the > cmd box visible, and that's index 9 for you ). > > I got the idea from one of David's TC emails, and he had 8 and 20, from what > I remember.
There are three places in TC which contain 'path' infos: left-pane, right-pane, and TC's CommandLine. The most reliable way to get the current working directory is using the caption for the command-line. Sean ------------------------ 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/
