rsiebler wrote:

> However, it doesn't appear at all when I right click on a dir; it only 
> appears when I click on a file.  Have I done something wrong?  Is this 
> a flaw in PPro or is it a quirk with TC?

Niether one. If you want a context menu for a FOLDER you MUST define it 
in a command list called ContextFolder. Any other name will not work.
Context menu entries for FILES go into a command list called Context.

I didn't check if the context entry you posted is correct, that's left 
for you to experiment with.

Now, for something slightly off-topic - 

I use TC and powerpro all the time, they work very well together. I 
defined a special hotkey to start TC the way I like it with [EMAIL PROTECTED], 
here it is (everything after Cmd1 goes on the same line):

[1]
; smart run totalcmd from desktop or usbkey
Key = Ctrl+Alt+f
Cmd1 = [EMAIL PROTECTED]("",1,"*",ifelse(""!=Env("commander_path"),Env
("commander_path")++?'\totalcmd.exe',?"totalcmd\totalcmd.exe"), if(""!
=Env("commander_path"), ?'/N /i=%commander_path%\wincmd.ini /f=%
commander_path%\wcx_ftp.ini') )

Explanation (pseudo English)

if variable commander_path is defined in windows environment then
  run totalcmd.exe found in folder %commander_path%
else
  run totalcmd.exe found in folder totalcmd located by searching
  through the PATH local variable defined in script
  file runit.powerpro at label X
also
when running totalcmd.exe
if variable commander_path is defined in windows environment then
  use files wincmd.ini and wcx_ftp.ini found in folder %commander_path%
else
  use default wincmd.ini and wcx_ftp.ini per TC's setting
note that [EMAIL PROTECTED] will change directory to the folder located in the 
first if-else statement prior to running totalcmd.exe, and I keep
wincmd.ini and wcx_ftp.ini in the totalcmd.exe folder, so when
variable commander_path isn't defined, I still end up starting TC
with the right ini files

End of explanation

The main advantage with this setup is that I can run TC from a hard 
disk, when commander_path isn't defined IN THE WINDOWS ENVIRONMENT, or I 
can run my copy of TC on a usb key on someone else's PC by defining 
commander_path in the windows environment prior to running powerpro.



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