> > These items seem to just help powerpro and TC work together. They 
> don't make
> > TC open when you execute explorer commands from powerpro. 
> 
> There is no automatic way to do it.

I was fearing as much.

> *menu folder help contains info on how to use any program to handle 
> explorer entry.  See help section on keyword dialog at bottom of 
> help topic.

This was one I was wondering about, didn't remember the interface but
thought there was something there for it.

> The exec explorer command only works with explorer but you can 
> replace it with a command line access to total commander.
> 
> Menu explorer allows a second argument specifying path to program to 
> use to open folder path.

I'm trying to think if there's a way to fill in a variable that can then be
used for both of these implementations that will allow changing of the
variable to switch between explorer and another file manager. Maybe a global
powerpro variable?

> Explorer file tracking has to be hard coded into PowerPro.  It 
> requires that the program to be tracked shows the current file path 
> in its window caption.  As far as I can see from sample screenshot 
> and non-registred download, total command does not do this, so 
> PowerPro could not be changed to track its folders.

I see from using a windowinfo helper script (from Alex) that contains this:

Local HandleList = Win.HandleList(Arg(1), 1)
If(Not(HandleList))
    Quit(MessageBox("Warning", "No windows match the given caption list:\n"
++ Arg(1), "Window Info"))
Local Output
For(Local HandleIter = 1; ; HandleIter = HandleIter + 1)
    Local Handle = Word(HandleList, HandleIter)
    If(Not(Handle))
        Break
    Output = Output ++ HandleIter ++ ". " ++ Win.Caption(Handle) ++ "
(Handle " ++ Handle ++ ", Class C=" ++ Win.Class(Handle)
    Output = Output ++ ", Owner =" ++ File.Name(Win.EXEPath(Handle)) ++
")\r\n"
    For(Local ControlIter = 1; ; ControlIter = ControlIter + 1)
        Local ControlText =
ReplaceChars(ReplaceChars(ReplaceChars(Win.ChildTextByIndex(Handle,
ControlIter), "\r\n", "¶"), "\r", "¶"), "\n", "¶")
        If(ControlText != "")
            Output = Output ++ "    " ++ ControlIter ++ ". " ++ ControlText
++ "\r\n"
        If(_EOF_)
            Break
    EndFor
    Output = Output ++ "\r\n"
EndFor

File.WriteAll(Env("Temp") ++ "\\Window Info.txt", Output)
"%Temp%\Window Info.txt"
--------------------
That the paths for the different windows do appear under certain childindex
items (8 and 20 for tc in my testing). I'm wondering if there is a way to be
able to adjust what item powerpro is monitoring for change. Then when
powerpro sees a change with those items, updates the Menu explorer list.

Maybe something like (syntax might not be exactly right): 
Foldermonitor = win.caption(explorer2)
To set powerpro to monitor explorer 2-pane windows only
Foldermonitor =  win.childtextbyindex(=totalcmd,8) or
win.childtextbyindex(=totalcmd,20)
In this case both panes in TC are monitored for changes in text (not sure
how the *.* at the end of that text would be handled though). Maybe whatever
is in that variable has to exactly match the path (trailing \)you want
powerpro to track...in which case you'd also put in a
replacechars(win.childtextbyindex(=totalcmd,8), "\*.*", "") function.

Maybe the way it's built right now this isn't possible...but I thought I'd
ask :)

David Troesch  |  Atlanta, GA  |  ICQ# 2333123
What the RIAA and MPAA don't want you to know. http://tinyurl.com/ywqq2
Funstuff: Yo-yo: Something occasionally up but normally down (see also
"computer").



------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hediafg/M=362329.6886308.7839368.1510227/D=groups/S=1706030409:TM/Y=YAHOO/EXP=1122867042/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</a>.</font>
--------------------------------------------------------------------~-> 

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