More or less 20 internal command with parameters

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
eugensyl
Power Member
Power Member
Posts: 564
Joined: 2004-06-03, 18:27 UTC
Location: România
Contact:

More or less 20 internal command with parameters

Post by *eugensyl »

It's a purpose.
Of course, all TC (advance) users knew the commands with parameters:
CD <dir>
OPENTABS <tabfile.tab>
APENDTABS <tabfile.tab>
FTPOPEN <session_name>
SYNCOPEN <saved_sync_name>
LOADSEARCH <saved_search_name>
OPENBAR <saved_bar>
--------
Maybe the next generation of TC can be improved with others useful commands with parameters, listed below. Some of them have already internal command but not parameter.

1) Save Active TABS
SAVETAB <tabfile.tab>

2) Save Active and inactive TABS
SAVETABS <tabfile.tab>

3) Print dialog box with custom plain text file
PRINTFILE <textfile.txt>

4) Save current selection to a custom file
SAVESELECTION <selection.txt>

5) Load selection from custom file
LOADSELECTION <selection.txt>

6) Adding current selection to a custom file
ADDSELECTION <selection.txt>

7) Load different ignored_saved_file.txt
LOADIGNORED <ignored_saved_file.txt>

8 ) Load different language file
OPENLANGUAGE <wcmd_xxx>

9) View a file in Lister (with/without) plugins [distiguish parameter line]
VIEWTXTFILE <any_file.ext>

10) Load different Favorites
OPENFAVORITE <favorite.txt>

11) Save current Favorites
SAVEFAVORITE <favorite.txt>

12) Download files from list
DOWNLOADFTP <listftp.txt>

13) Upload from from list
UPLOADFTP <listftp.txt>

14) Load different TC config_file
OPENCONFIG <custom.ini>

15) Save current TC config_file into a file
SAVECONFIG <custom.ini>

16) Save custom filter
SAVEFILTER <custom_filter.txt>

17) Load custom filter
OPENFILTER <custom_filter.txt>

18 ) Open (in browser) custom URL
OPENURL <custom.url>

19) Copy files with/without presets from list, from different sources (drives)
COPYFILE <custom_selection.txt>

20) Move files with/without presets from list, from different sources (drives)
MOVEFILE <custom_selection.txt>

Please add or comment those commands.
My Best Wishes,

Eugen
User avatar
Sombra
Power Member
Power Member
Posts: 811
Joined: 2005-12-27, 22:23 UTC
Location: Zaragoza, Spain

Post by *Sombra »

Hi eugensyl
5) Load selection from custom file
LOADSELECTION <selection.txt>
Really necessary IMHO.
14) Load different TC config_file
openconfig <custom.ini>
It could be done with a new parameter in commandline in combination with /O Even could be a good idea load only redirecteds sections.
9) View a file in Lister (with/without) plugins
viewtxtfile <any_file.ext>
Currently it is possible if you edit manually the usercmd.ini (cm_list & cm_listinternalonly)
1Cool Open (in browser) custom URL
openurl <custom.url>
Currently, It is possible.
I can read English, but... I write like Tarzan. (sorry)
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

eugensyl wrote:4) Save current selection to a custom file
SAVESELECTION <selection.txt>

5) Load selection from custom file
LOADSELECTION <selection.txt>
Support.
eugensyl wrote:1) Save Active TABS
SAVETAB <tabfile.tab>

2) Save Active and inactive TABS
SAVETABS <tabfile.tab>
Support, as stated in http://ghisler.ch/board/viewtopic.php?p=136542#136542
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
petermad
Power Member
Power Member
Posts: 14799
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

4) Save current selection to a custom file
SAVESELECTION <selection.txt>

5) Load selection from custom file
LOADSELECTION <selection.txt>
In the meantime use: cm_SaveSelectionToFile and cm_LoadSelectionFromFile - you have to enter the filename though.

Load different language file
OPENLANGUAGE <wcmd_xxx>
Big support+++

Open (in browser) custom URL
OPENURL <custom.url>
Just put the url in the "Command" field of a button or User command and it will open in your default browser.
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
User avatar
eugensyl
Power Member
Power Member
Posts: 564
Joined: 2004-06-03, 18:27 UTC
Location: România
Contact:

Post by *eugensyl »

petermad wrote:
Open (in browser) custom URL
OPENURL <custom.url>
Just put the url in the "Command" field of a button or User command and it will open in your default browser.
Maybe open URL into TC window, like Quick View, it's better.
Anyway, thanks for the hint!
My Best Wishes,

Eugen
User avatar
eugensyl
Power Member
Power Member
Posts: 564
Joined: 2004-06-03, 18:27 UTC
Location: România
Contact:

Post by *eugensyl »

Please consider too:

LOADUSERSPEC <filename.ext>

like cm_SrcUserSpec, with wildcards (*, ?) allowed,
where 'filename.ext' is a custom defined filter, not a file.

This can be useful to load a custom filter.

LOADPERCENT <xx>

<xx> between 0 to 100,
for loading a custom view of two windows (panels) of TC.
My Best Wishes,

Eugen
User avatar
petermad
Power Member
Power Member
Posts: 14799
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

LOADUSERSPEC <filename.ext>
Support++
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
User avatar
StickyNomad
Power Member
Power Member
Posts: 1933
Joined: 2004-01-10, 00:15 UTC
Location: Germany

Post by *StickyNomad »

LOADPERCENT <xx>
for loading a custom view of two windows (panels) of TC.
Support!

There've been already quite some requests for a command like that a while ago. I still hope that Christian has this on his wishlist, as this would be a very handy feature.
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

The CD command supports named filters.
User avatar
petermad
Power Member
Power Member
Posts: 14799
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

The CD command supports named filters.
Indeed it does :oops: - just not from the command line, that's why I have never tried it with a button or a user command before.
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
User avatar
nsp
Power Member
Power Member
Posts: 1804
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp »

~~UP~~
Just in case SAVETAB / SAVETABS command could be implemented.

Minor enhancement

OPENTABS file dialog should open in starting path if specified !

AND....

COMMAND with parameter should work from command line ! (I simulate it today with user command and aliases. But i think it is not a good practice to achieve what should work in standard.)

Code: Select all

CD *.*|>Today
Should work exactly as CD in command and *.*|>Today in parameter for a buton or a user command !

OPENTABS should open a file dialogbox
...
Post Reply