TC 9: 'numeric parameter for commands'; allow ? parameter
Moderators: Hacker, petermad, Stefan2, white
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 ?MVV wrote:Will you also add support for other parametrized commands?
The best would be to have the same function used in separated thread not using any UI element as input.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
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
https://www.ghisler.com
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
Re: TC 9: 'numeric parameter for commands'; allow ? parameter
Any news?
Maybe new commands like
cm_OpenBar parameter
cm_LoadSearch parameter
?
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
Re: TC 9: 'numeric parameter for commands'; allow ? parameter
OpenBar and LoadSearch already exist since a long time.LonerD wrote: 2018-10-02, 14:31 UTC Any news?
Maybe new commands like
cm_OpenBar parameter
cm_LoadSearch parameter
?
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: TC 9: 'numeric parameter for commands'; allow ? parameter
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):
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`)"
Re:
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.
Maybe in TC 9.50?LonerD wrote: 2016-07-10, 16:28 UTCSupport. 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
Re: TC 9: 'numeric parameter for commands'; allow ? parameter
TC still lacks this useful commands.LonerD wrote: 2018-10-02, 14:31 UTC 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