Page 2 of 2

Posted: 2016-06-23, 20:53 UTC
by MVV
Will you also add support for other parametrized commands?

Posted: 2016-06-24, 06:01 UTC
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.

Posted: 2016-06-27, 13:43 UTC
by ghisler(Author)
Sorry but that would be a security risk - that's why I only want to allow cm_ and em_ commands.

Posted: 2016-06-27, 15:52 UTC
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.

Posted: 2016-07-10, 16:28 UTC
by LonerD
Support. At least standard TC commands (like openbar, loadsearch..) will be useful.

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

Posted: 2018-10-02, 14:31 UTC
by LonerD
Any news?
Maybe new commands like
cm_OpenBar parameter
cm_LoadSearch parameter
?

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

Posted: 2018-10-02, 15:24 UTC
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.

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

Posted: 2018-10-03, 05:21 UTC
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`)"

Re:

Posted: 2019-10-26, 00:03 UTC
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?

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

Posted: 2021-03-14, 00:28 UTC
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.