TC 9: 'numeric parameter for commands'; allow ? parameter

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Will you also add support for other parametrized commands?
User avatar
nsp
Power Member
Power Member
Posts: 1803
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp »

MVV wrote:Will you also add support for other parametrized commands?
2Ghilser (Author) Could it be possible to have the "string" passed to the copydata buffer parsed and then executed exactly as if it was entered in the command line ?
The best would be to have the same function used in separated thread not using any UI element as input.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry but that would be a security risk - that's why I only want to allow cm_ and em_ commands.
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

ghisler(Author),
Please add at least commands with parameters (LOADSEARCH etc.), there is no risk in supporting them.

BTW there is no problem for a hacker to write a EM-command to usercmd.ini and then execute it so security risks are the same.
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka, Russia
Contact:

Post by *LonerD »

Support. At least standard TC commands (like openbar, loadsearch..) will be useful.
"I used to feel guilty in Cambridge that I spent all day playing games, while I was supposed to be doing mathematics. Then, when I discovered surreal numbers, I realized that playing games IS math." John Horton Conway
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka, Russia
Contact:

Re: TC 9: 'numeric parameter for commands'; allow ? parameter

Post by *LonerD »

Any news?
Maybe new commands like
cm_OpenBar parameter
cm_LoadSearch parameter
?
"I used to feel guilty in Cambridge that I spent all day playing games, while I was supposed to be doing mathematics. Then, when I discovered surreal numbers, I realized that playing games IS math." John Horton Conway
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6449
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: TC 9: 'numeric parameter for commands'; allow ? parameter

Post by *Horst.Epp »

LonerD wrote: 2018-10-02, 14:31 UTC Any news?
Maybe new commands like
cm_OpenBar parameter
cm_LoadSearch parameter
?
OpenBar and LoadSearch already exist since a long time.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: TC 9: 'numeric parameter for commands'; allow ? parameter

Post by *MVV »

Horst.Epp,
I think he means an internal command with parameter that could be called via WM_COPYDATA. Currently it is only possible via special EM-command (so can't be used on unprepared TC):

Code: Select all

[em_LoadSearch]
cmd=LOADSEARCH
param=%A

Code: Select all

TCFS2 /ef "tem(`em_LoadSearch Size < 1 MB`)"
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka, Russia
Contact:

Re:

Post by *LonerD »

MVV wrote: 2016-06-27, 15:52 UTC ghisler(Author),
Please add at least commands with parameters (LOADSEARCH etc.), there is no risk in supporting them.
LonerD wrote: 2016-07-10, 16:28 UTCSupport. At least standard TC commands (like openbar, loadsearch..) will be useful.
Maybe in TC 9.50?
"I used to feel guilty in Cambridge that I spent all day playing games, while I was supposed to be doing mathematics. Then, when I discovered surreal numbers, I realized that playing games IS math." John Horton Conway
User avatar
LonerD
Senior Member
Senior Member
Posts: 381
Joined: 2010-06-19, 20:18 UTC
Location: Makeyevka, Russia
Contact:

Re: TC 9: 'numeric parameter for commands'; allow ? parameter

Post by *LonerD »

LonerD wrote: 2018-10-02, 14:31 UTC Any news?
Maybe new commands like
cm_OpenBar parameter
cm_LoadSearch parameter
?
TC still lacks this useful commands.
"I used to feel guilty in Cambridge that I spent all day playing games, while I was supposed to be doing mathematics. Then, when I discovered surreal numbers, I realized that playing games IS math." John Horton Conway
Post Reply