Page 1 of 1

More or less 20 internal command with parameters

Posted: 2007-12-02, 16:01 UTC
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.

Posted: 2007-12-02, 16:17 UTC
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.

Posted: 2007-12-09, 20:02 UTC
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

Posted: 2007-12-09, 20:25 UTC
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.

Posted: 2007-12-10, 20:03 UTC
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!

Posted: 2008-01-06, 09:23 UTC
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.

Posted: 2008-01-06, 16:18 UTC
by petermad
LOADUSERSPEC <filename.ext>
Support++

Posted: 2008-01-06, 16:35 UTC
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.

Posted: 2008-01-06, 18:09 UTC
by Lefteous
The CD command supports named filters.

Posted: 2008-01-06, 18:21 UTC
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.

Posted: 2013-09-06, 09:51 UTC
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
...