Help with special symbols in User Menu...
- Mauro72
- Posts: 220
- Joined: Wed 11 Aug, 2010 00:23
- Location: Rosario, Argentina
- Been thanked: 9 times
Help with special symbols in User Menu...
Hi,
I need to know how to put passive panel in this line:
"c:\WinRAR\Rar.exe" a -y !?Nombre del archivo:?! !&
This line is a user menu option to compress selected files in RAR format. Works, but i want to put the drive/folder of passive panel.
Any help?
Thanks.
I need to know how to put passive panel in this line:
"c:\WinRAR\Rar.exe" a -y !?Nombre del archivo:?! !&
This line is a user menu option to compress selected files in RAR format. Works, but i want to put the drive/folder of passive panel.
Any help?
Thanks.
- HaRT
- Moderator
- Posts: 10829
- Joined: Tue 30 Aug, 2005 17:21
- Has thanked: 221 times
- Been thanked: 358 times
Re: Help with special symbols in User Menu...
Mauro72
in Far 1.75, it's here: open the New User Menu Command dialog (titled “Edit user menu”), press F1 there and go by the “Special symbols” link.
in Far 1.75, it's here: open the New User Menu Command dialog (titled “Edit user menu”), press F1 there and go by the “Special symbols” link.
Фар есть инструмент, а не нянька. © 2009 DrKnS
- Mauro72
- Posts: 220
- Joined: Wed 11 Aug, 2010 00:23
- Location: Rosario, Argentina
- Been thanked: 9 times
Re: Help with special symbols in User Menu...
FAR3 is the version and i check the help with F1 and special symbols link, but i can't find a solution.
Try the symbols !#, but no work.
With !?Nombre del archivo:?! i need to write the name of the new file, but i want the dialog with the drive:\folder of passive panel.
Example:
Passive panel: D:\Audio
Active panel: E:\Manuales
So when i select x number of files of E:\Manuales, will be ok if the dialog put:
D:\Audio\'here write the filename'
More info?
Thanks.
PD: I'm still waiting the option to sort files and folders separately. xD
Try the symbols !#, but no work.
With !?Nombre del archivo:?! i need to write the name of the new file, but i want the dialog with the drive:\folder of passive panel.
Example:
Passive panel: D:\Audio
Active panel: E:\Manuales
So when i select x number of files of E:\Manuales, will be ok if the dialog put:
D:\Audio\'here write the filename'
More info?
Thanks.
PD: I'm still waiting the option to sort files and folders separately. xD
- John Doe
- Бюрократ
- Posts: 13810
- Joined: Wed 27 Apr, 2005 20:42
- Has thanked: 73 times
- Been thanked: 427 times
- Contact:
Re: Help with special symbols in User Menu...
It works.Mauro72 wrote:Try the symbols !#, but no work.
Code: Select all
"c:\WinRAR\Rar.exe" a -y "!#!\!?Nombre del archivo:?!" !^!&
- Mauro72
- Posts: 220
- Joined: Wed 11 Aug, 2010 00:23
- Location: Rosario, Argentina
- Been thanked: 9 times
Re: Help with special symbols in User Menu...
Ok, works, but the dialog always is blank.
The window dialog 'Nombre de archivo' always is empty (or name enter below).
I know, is irrelevant to show or not show the full path. (D:\Audio\'here write the filename') or ('here write the filename' directly)
I remember Dos NAvigator user menu syntax and works perfectly. Some like !.!:\!.!
Thanks anyway John Doe.
The window dialog 'Nombre de archivo' always is empty (or name enter below).
I know, is irrelevant to show or not show the full path. (D:\Audio\'here write the filename') or ('here write the filename' directly)
I remember Dos NAvigator user menu syntax and works perfectly. Some like !.!:\!.!
Thanks anyway John Doe.
- Centaur
- Posts: 1083
- Joined: Tue 05 Apr, 2005 20:09
- Location: Novosibirsk, Russia
- Been thanked: 2 times
Re: Help with special symbols in User Menu...
Read the help on special symbols carefully, it has some syntax involving parentheses to use !#!\ in the default value for !??!.
- Mauro72
- Posts: 220
- Joined: Wed 11 Aug, 2010 00:23
- Location: Rosario, Argentina
- Been thanked: 9 times
Re: Help with special symbols in User Menu...
Yeah...... I find the solution.
Like Centaur says, the parentheses is needed. And the working correct line is:
"c:\WinRAR\Rar.exe" a -y !?Nombre del archivo:?(!#!\)! !^!&
Thanks boys for the help. Question solved.
Like Centaur says, the parentheses is needed. And the working correct line is:
"c:\WinRAR\Rar.exe" a -y !?Nombre del archivo:?(!#!\)! !^!&
Thanks boys for the help. Question solved.
"user menu" special symbols
Hi,
I want to create a user command available in "user menu" to copy big file with external tool.
I want to copy selected and undercursor file/directory to the other panel path.
I can match easily the file select in the current panel with "!&" but i don't find a symbol for the other panel path.
The command is like this:
externaltool.exe source="!.! !&" destination=""
destination symbol missing :'(
Is there a way to do this ?
I want to create a user command available in "user menu" to copy big file with external tool.
I want to copy selected and undercursor file/directory to the other panel path.
I can match easily the file select in the current panel with "!&" but i don't find a symbol for the other panel path.
The command is like this:
externaltool.exe source="!.! !&" destination=""
destination symbol missing :'(
Is there a way to do this ?
- HaRT
- Moderator
- Posts: 10829
- Joined: Tue 30 Aug, 2005 17:21
- Has thanked: 221 times
- Been thanked: 358 times
"user menu" special symbols
FAR Help wrote:"!^" modifier specified before a file association symbol forces it (and all the following characters) to refer to the active panel (see note 4).
For example, !^!.! denotes a current file name on the active panel, !##!\\!^!.! - a file on the passive panel with the same name as the name of the current file on the active panel.
[…]
4. The prefixes "!##" and "!^" work as toggles for associations. The effect of these prefixes continues up to the next similar prefix.
Фар есть инструмент, а не нянька. © 2009 DrKnS
-
- Posts: 10
- Joined: Sat 07 Mar, 2020 16:42
- Been thanked: 1 time
FarMenu.ini syntax and special aliases
I would like to know if exists an alias for the list of tagged (the ones marked yellow with INS key) files inside the "FarMenu.ini" file.
Does it exists?
I also need the missed ones () in the following list:
- name of current file (!.!)
- name of current file without extension (!^!)
- path of current panel (!\)
- path of opposite panel ()
- name of current file with full path (!\!.!) or?
- name of current file in the opposite panel with full path ()
- list of all tagged files ()
- name of a temporary file with all tagged files, one per line ()
Are available nested menus?
Thank you to all!
Does it exists?
I also need the missed ones () in the following list:
- name of current file (!.!)
- name of current file without extension (!^!)
- path of current panel (!\)
- path of opposite panel ()
- name of current file with full path (!\!.!) or?
- name of current file in the opposite panel with full path ()
- list of all tagged files ()
- name of a temporary file with all tagged files, one per line ()
Are available nested menus?
Thank you to all!
-
- Posts: 10
- Joined: Sat 07 Mar, 2020 16:42
- Been thanked: 1 time
FarMenu.ini syntax and special aliases
There is nothing in the concise contextual help. Or maybe in the Russian version is better, but I use the English version.
FarMenu.ini syntax and special aliases
Actually, it's in the English version too. Precisely where Shmuel wrote it would be.
Note that "name of current file without extension" should be "!", not "!^!".
Nested menus are not available in the stock FAR. I implemented a basic support for them and published it somewhere in the forum for an older build of FAR3, but there apparently wasn't any interest in it so I stopped updating it here and only use it in my own FAR build.
Note that "name of current file without extension" should be "!", not "!^!".
Nested menus are not available in the stock FAR. I implemented a basic support for them and published it somewhere in the forum for an older build of FAR3, but there apparently wasn't any interest in it so I stopped updating it here and only use it in my own FAR build.