Multi Commander > Support and Feedback

${sourcefilepath} problem

(1/2) > >>

pncdaspropagandas:
Hi,

I'm having trouble with the  ${sourcefilepath} multitag.

I created a User Defined Command as a Batch Script with:

echo sourcepath = "${sourcepath}"
echo sourcefilepath = "${sourcefilepath}"
pause

Then I select any or multiple files on C:\

When I run the scrit I get:
sourcepath = ""C:\""
sourcefilepath = ""

So is this a bug or did I do something wrong?

Thanks

AlanJB:
I don't believe there is a MultiTag "sourcefilepath"

Mathias (Author):
Correct. there is no "sourcefilepath"

http://multicommander.com/docs/multitags

I think maybe you want  ${sourcefocuspath} ??   (Give you the path to the item (file/folder) in focus in the source panel (active panel) )

pncdaspropagandas:
I see. My bad. I confused it with focusfilepath

Thank you

pncdaspropagandas:
But then I edit a Quick Launch Button and set

Program Path = C:\Program Files (x86)\Notepad++\notepad++.exe
Program Parameters = ${sourcefocuspath}

I select a file and click on the Quick Launch Button

Notepadd++ warns me with the message:
C:\${sourcefocuspath} doesn't exist. Create it?

It seems that the MultiTag  ${sourcefocuspath} doesn't work on a Quick Launch Button.

On the other hand, on another Quick Launch Button, I use the MultiTag ${sourcepath} and it works fine.

Thanks

Navigation

[0] Message Index

[#] Next page

Go to full version