The cm_list internal command, if defined as a bar button, always lists the selected file(s) on the active panel.
Another nice behaviour could be if TC checked previously to the launch of the command whether there is no Parameter defined (this way the internal lister should be launched as usual), but if a parameter is defined (a file path, for instance), then the command should be launched for that specific file instead (the same as when setting the Parameter field to the "?" char (thus asking for tha parameter interactively).
This would be useful when defining a button to alway show a specific file:
- An mp3 file list, which may be played through a Lister plugin.
- A text file (an index file, for instance)
- A log file (useful when used together with a log file plugin)
- An INI file which has to be edited from time to time.
Suggestion: cm_List able to list a file as parameter instead
Moderators: Hacker, petermad, Stefan2, white
Suggestion: cm_List able to list a file as parameter instead
Regards,
Sergio
TCmd license #12059
TC11.03x86/x64 | Win11 Pro
Sergio
TCmd license #12059
TC11.03x86/x64 | Win11 Pro
- Clas Hortien
- Senior Member
- Posts: 200
- Joined: 2003-03-03, 15:03 UTC
You can download the stand-alone lister from
[url]http://www.ghisler.com/lister/[/url]
Here you can add a filename as a parameter at put this on a button, so that you will see always the same file.
[url]http://www.ghisler.com/lister/[/url]
Here you can add a filename as a parameter at put this on a button, so that you will see always the same file.
#14041
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
Exactly what I have done to solve this issue, BUT it doesn't support plugins, so it's not a useful solutionClas Hortien wrote:You can download the stand-alone lister from
http://www.ghisler.com/lister/
Here you can add a filename as a parameter at put this on a button, so that you will see always the same file.

Regards,
Sergio
TCmd license #12059
TC11.03x86/x64 | Win11 Pro
Sergio
TCmd license #12059
TC11.03x86/x64 | Win11 Pro
- franck8244
- Power Member
- Posts: 704
- Joined: 2003-03-06, 17:37 UTC
- Location: Geneva...
External lister DOES support plugin:
I got this trick from an old post (I haven't find it today).
IIRC, what was said was:
If you use a ini file different than "wincmd.ini" in %WINDIR%, you'll have to :
Copy Lister and Lister plugin section from your ini file and then paste them in "wincmd.ini" in %WINDIR%
Edit: You can not use %Commander_path% in the brand new wincmd.ini or plugin won't work
I got this trick from an old post (I haven't find it today).
IIRC, what was said was:
If you use a ini file different than "wincmd.ini" in %WINDIR%, you'll have to :
Copy Lister and Lister plugin section from your ini file and then paste them in "wincmd.ini" in %WINDIR%
Edit: You can not use %Commander_path% in the brand new wincmd.ini or plugin won't work
TC#88260 -