solved [TC 10.52rc1] CM_EXIT with parameters does not work if preceded by other commands.

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

solved [TC 10.52rc1] CM_EXIT with parameters does not work if preceded by other commands.

Post by *petermad »

Make this button:

Code: Select all

TOTALCMD#BAR#DATA
cm_SrcByExt,cm_Exit 4

%COMMANDER_EXE%
Change sort order and restart


-1
Click the button - the sort order is changed, but after that I get an error message: "Function not implemented! 4" - no restart and noi saved settings.

Same result with other parameters than 4.
Last edited by petermad on 2022-10-10, 20:37 UTC, edited 1 time in total.
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10.52rc1] CM_EXIT with parameters does not work if preceded by other commands.

Post by *ghisler(Author) »

Currently it can only be used alone. I will add it to the list of commands which can be used in combination with others.
cm_50percent and cm_*ActivateTab* are probably also affected.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 10.52rc1] CM_EXIT with parameters does not work if preceded by other commands.

Post by *petermad »

cm_50percent and cm_*ActivateTab* both works with negative values, but not positive, when preceded wit another parameter
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
funkymonk
Senior Member
Senior Member
Posts: 410
Joined: 2013-12-04, 09:56 UTC

Re: [TC 10.52rc1] CM_EXIT with parameters does not work if preceded by other commands.

Post by *funkymonk »

ghisler(Author) wrote: 2022-10-04, 22:11 UTC Currently it can only be used alone. I will add it to the list of commands which can be used in combination with others.
cm_50percent and cm_*ActivateTab* are probably also affected.
Yes, cm_50percent is also affected.
User avatar
funkymonk
Senior Member
Senior Member
Posts: 410
Joined: 2013-12-04, 09:56 UTC

Re: [TC 10.52rc1] CM_EXIT with parameters does not work if preceded by other commands.

Post by *funkymonk »

BTW:
cm_50percent can not be used *with parameter* for defining shortcuts

Works:

Code: Select all

C+*=cm_50percent
Ignored:

Code: Select all

C+*=cm_50percent 10
I guess this is a general limitation of shortcut definitions. It would be helpful to support shortcuts here.
(Of course, a user command can help out but that will clutter usercmd.ini over time...)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10.52rc1] CM_EXIT with parameters does not work if preceded by other commands.

Post by *ghisler(Author) »

Try putting it in an em_command.
Author of Total Commander
https://www.ghisler.com
User avatar
funkymonk
Senior Member
Senior Member
Posts: 410
Joined: 2013-12-04, 09:56 UTC

Re: [TC 10.52rc1] CM_EXIT with parameters does not work if preceded by other commands.

Post by *funkymonk »

:lol:
funkymonk wrote: 2022-10-05, 09:37 UTC (Of course, a user command can help out but that will clutter usercmd.ini over time...)
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 10.52rc1] CM_EXIT with parameters does not work if preceded by other commands.

Post by *petermad »

history.txt wrote:05.10.22 Fixed: Commands CM_EXIT, CM_50PERCENT and CM_*ACTIVATETAB* could not be combined with other commands on a button when using a parameter, e.g. CM_SRCBYEXT,CM_EXIT 1 (32/64)
Confirmed fixed in TC 10.52rc2 :-)
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
white
Power Member
Power Member
Posts: 4594
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: solved [TC 10.52rc1] CM_EXIT with parameters does not work if preceded by other commands.

Post by *white »

Moderator message from: white » 2022-10-10, 23:57 UTC

Moved to Fixed bugs.
sa16
Senior Member
Senior Member
Posts: 215
Joined: 2021-09-10, 07:15 UTC

Re: solved [TC 10.52rc1] CM_EXIT with parameters does not work if preceded by other commands.

Post by *sa16 »

05.10.22 Fixed: Commands CM_EXIT, CM_50PERCENT and CM_*ACTIVATETAB* could not be combined with other commands on a button when using a parameter, e.g. CM_SRCBYEXT,CM_EXIT 1 (32/64)
The cm_TrgActivateTab* commands are forgotten here. Others (cm_Src*, cm_Left*, cm_Right*) have been fixed.
User avatar
white
Power Member
Power Member
Posts: 4594
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: solved [TC 10.52rc1] CM_EXIT with parameters does not work if preceded by other commands.

Post by *white »

sa16 wrote: 2022-10-18, 11:41 UTC [The cm_TrgActivateTab* commands are forgotten here. Others (cm_Src*, cm_Left*, cm_Right*) have been fixed.
Confirmed.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: solved [TC 10.52rc1] CM_EXIT with parameters does not work if preceded by other commands.

Post by *ghisler(Author) »

I will add it, thanks.
Author of Total Commander
https://www.ghisler.com
sa16
Senior Member
Senior Member
Posts: 215
Joined: 2021-09-10, 07:15 UTC

Re: solved [TC 10.52rc1] CM_EXIT with parameters does not work if preceded by other commands.

Post by *sa16 »

Confirmed fixed in TC 10.52rc5, thanks.
User avatar
white
Power Member
Power Member
Posts: 4594
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: solved [TC 10.52rc1] CM_EXIT with parameters does not work if preceded by other commands.

Post by *white »

sa16 wrote: 2022-10-21, 15:43 UTC Confirmed fixed in TC 10.52rc5, thanks.
Confirmed.
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: solved [TC 10.52rc1] CM_EXIT with parameters does not work if preceded by other commands.

Post by *petermad »

sa16 wrote: 2022-10-18, 11:41 UTC [The cm_TrgActivateTab* commands are forgotten here. Others (cm_Src*, cm_Left*, cm_Right*) have been fixed.
Confirmed fixed in TC 10.52rc5 :-) - although not mentioned in history.txt.
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply