[REQ] Add cm_LoadBar command...
Moderators: white, Hacker, petermad, Stefan2
cm_list supports a filename, and it can also be used in an em_command. Indeed I have in mind to use such a command by creating an em_command and then sending it with WM_COPYDATA, but that's just a side note.
Edit:
Real (instead of hardcoded) parameter support like in the UPPERCASE commands are not really needed here but if it can be done, why not.
Important for me in this case is the scripting ability of that command. I don't know how to script commands like OPENTABS for example. Is it possible?
Icfu
Edit:
Real (instead of hardcoded) parameter support like in the UPPERCASE commands are not really needed here but if it can be done, why not.
Important for me in this case is the scripting ability of that command. I don't know how to script commands like OPENTABS for example. Is it possible?
Icfu
This account is for sale
I'm curious on how you do this !!!!! Using the lister directly from command line is not fancy enoughicfu wrote:cm_list supports a filename, and it can also be used in an em_command. Indeed I have in mind to use such a command by creating an em_command and then sending it with WM_COPYDATA, but that's just a side note.
I use OPENTABS with an em_loadtabs command OPENTABS with %A as parameter..icfu wrote:Important for me in this case is the scripting ability of that command. I don't know how to script commands like OPENTABS for example. Is it possible?
Icfu
As you stated with the WM_COPYDATA and the E+256 * M (dwData, the lpData point to a "em_loadtabs c:\\TC\\saved_tabs\\tabs.tab" string.
I just miss the SAVETABS.... COMPAREFILES .....
For loading Bar, you can use Vochomurka powerpro scripts....
- ghisler(Author)
- Site Admin
- Posts: 48093
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
The parmeter must follow immediately after cm_list and a space, e.g.how do you supply a parameter to cm_list?
cm_list c:\windows\wincmd.ini
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Yes but it is not working with a parameter section... It cannot be used from the command line bar.....ghisler(Author) wrote:The parmeter must follow immediately after cm_list and a space, e.g.Code: Select all
cm_list c:\windows\wincmd.ini
It is annoying not having a coherent command syntax across buttons, command line bar, and em_commands !
It cannot be used from the command line bar
It works fine here from the command line!e.g. type 'cm_list myfile.ext' in the command line
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
That's really odd I can only make it list the file that the cursor is currently placed on. It does this no matter what file I give as parameter to the cm_list command -- using beta 2 here.
Could you please try to list a file that is not even shown in the current window, using the 'cm_list myfile.ext' (obviously with full path) in the command line?
Could you please try to list a file that is not even shown in the current window, using the 'cm_list myfile.ext' (obviously with full path) in the command line?
2ped
Ahh, sorry my mistake. I had copied the filename to the command line with Ctrl+Enter and hadn't moved the cursor away from the file afterwards.
Ahh, sorry my mistake. I had copied the filename to the command line with Ctrl+Enter and hadn't moved the cursor away from the file afterwards.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 48093
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
It's meant for the button bar, e.g. to open a fixed file name in lister. To open a file from the file list itself, you need to put the cursor on it and press F3.
What you can do is define a new user command, e.g. em_list or just em_l which just contains cm_list as the command. This extended command will then also work on the command line with parameters.
What you can do is define a new user command, e.g. em_list or just em_l which just contains cm_list as the command. This extended command will then also work on the command line with parameters.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com