Multi Commander > Support and Feedback

Focused Path Field

<< < (2/2)

Mathias (Author):
A type from Jungle, it is "${sourcepath}"
 ( $ before the { } tag. )

But It depends on where you use it and what UserDefinedCommand type you use..
If you are creating a UserDefinedCommand of External type then use the MultiTags as Jungle say..


macmore:
${sourcepath} is blank too.  I am using it as a Program parameter to a Quick Launch program.

macmore:
From the documentation
http://multicommander.com/docs/filetypesetup:


--- Quote ---Under "Program Parameters" you enter the parameters you want to send to the program (if the Program type is "External Program"). There are a couple of tags you can also select that will for example expand to the selected file path. You will get a list of them by pressing the [<] button.
--- End quote ---

When I click the [<] button, I don't get a list of tags.  Is there something wrong with my configuration?

Mathias (Author):

--- Quote from: macmore on February 19, 2014, 00:56:13 ---${sourcepath} is blank too.  I am using it as a Program parameter to a Quick Launch program.

--- End quote ---

That is because the QuickLaunch Bar is not a script.

It is like the QuickLaunch bar that you had/have in Windows on the taskbar, a place to quickly launch programs.
And you can drag and drop files on an icon and they will be sent as parameters to the program.
If you want it to interact with MC then you need to create a UserDefinedCommand and then add that to the Quicklaunch bar.

Here is a example, Create a new UserDefinedCommand of "CustomCommand" type
then enter

--- Code: ---MC.Run CMD="C:\Bin\Notepad++\notepad++.exe" ARG="${sourcepath}"
--- End code ---
Then Right click on QuickLaunch bar and select insert User defined command.
The Right click on the quicklaunch program icon for the command and select customize and then you can modify the icon.

Mathias (Author):

--- Quote from: macmore on February 19, 2014, 06:32:46 ---From the documentation
http://multicommander.com/docs/filetypesetup:


--- Quote ---Under "Program Parameters" you enter the parameters you want to send to the program (if the Program type is "External Program"). There are a couple of tags you can also select that will for example expand to the selected file path. You will get a list of them by pressing the [<] button.
--- End quote ---

When I click the [<] button, I don't get a list of tags.  Is there something wrong with my configuration?

--- End quote ---

FileTypeSetup is found under Menu > Configuration > FileTypeSetup. It is where you configure default program to be used for Viewers and Editor based on file type.
It has nothing to do with the QuickLaunchBar. it does not support any script tags (Except Windows Enviroment strings. )

Navigation

[0] Message Index

[*] Previous page

Go to full version