[SOLVED] cm_SrcViewModeList with parameter 0

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

[SOLVED] cm_SrcViewModeList with parameter 0

Post by *tuska »

HISTORY.TXT wrote:27.11.19 Release Total Commander 9.50 beta 7
25.11.19 Fixed: cm_SrcViewModeList with parameter 0 didn't switch to default view mode (32/64)
Is this command meant here?

Code: Select all

cm_SrcViewMode0
Last edited by tuska on 2019-11-28, 18:09 UTC, edited 1 time in total.
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: cm_SrcViewModeList with parameter 0

Post by *petermad »

Is this command meant here?
Code: Select all
cm_SrcViewMode0
No - it corresponds to this:

totalcmd.chm:
cm_SrcViewModeList=333;Source: View mode menu
history.txt:
16.10.16 Fixed: cm_LeftViewModeList, cm_RightViewModeList and cm_SrcViewModeList now accept a view mode number>0 or view mode name as parameter in button bar, start menu, or internal command (32/64)
And I can confirm that cm_SrcViewModeList now works with parameter 0 from command line

But cm_LeftViewModeList, cm_RightViewModeList does not work with parameter 0 (they work as the command without 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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: cm_SrcViewModeList with parameter 0

Post by *tuska »

OK, thanks!

Could we then have entries in the CommandBrowser for these commands with parameter 0?

Code: Select all

cm_CommandBrowser
... analogous to the command cm_SrcViewMode0 ...
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: cm_SrcViewModeList with parameter 0

Post by *petermad »

2tuska
Could we then have entries in the CommandBrowser for these commands with parameter 0?
There are many cm_commands that support a parameter, none of which are described in the Command browser

Here are those commands that supports parameters that I can find:
Spoiler

Code: Select all

cm_SrcByName
cm_SrcByExt
cm_SrcBySize
cm_SrcByDateTime
cm_SrcNegOrder
cm_SrcThumbs
cm_SrcOpenDrives
cm_SrcViewModeList

cm_LeftByName
cm_LeftByExt
cm_LeftBySize
cm_LeftByDateTime
cm_LeftNegOrder
cm_LeftThumbs
cm_LeftOpenDrives
cm_LeftViewModeList

cm_RightByName
cm_RightByExt
cm_RightBySize
cm_RightByDateTime
cm_RightNegOrder
cm_RightThumbs
cm_RightOpenDrives
cm_RightViewModeList

cm_GoToFirstEntry
cm_GoToFirstFile

cm_LeftSwitchToThisCustomView
cm_RightSwitchToThisCustomView

cm_Select
cm_UnSelect
cm_Reverse

cm_List
cm_ListInternalOnly
cm_ListOnly
cm_ListMulti

cm_VerticalPanels
cm_Wait

... analogous to the command cm_SrcViewMode0 ...
It is not quite the same:
cm_SrcViewMode0 is fixed to mode 0 and can be used in buttons and other places AND also in the Main menu
cm_SrcViewModeList uses a replaceable parameter and can therefore NOT be used in the Main menu - the parameter can be either a number or a View Mode name. Using 0 is the same as using the default View mode which is always the first one in the list.

The syntax is:

Code: Select all

cm_SrcViewModeList  0
not:

Code: Select all

cm_SrcViewModeList0
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: cm_SrcViewModeList with parameter 0

Post by *tuska »

2petermad
Thank you for your explanations!

Unfortunately my memory left me completely in the lurch (on this topic, I have for example in Total Commander 9.0 beta 15
certainly already read a lot, but displaced in the absence of use again) :oops:

Thanks again, this topic is closed for me.


@Moderators
This topic could be treated as a request (no bug!) and moved to the forum "Total Commander (English)".
Thanks!
User avatar
Hacker
Moderator
Moderator
Posts: 13067
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: [SOLVED] cm_SrcViewModeList with parameter 0

Post by *Hacker »

Moderator message from: "Hacker"

Moved to the English forum.
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Post Reply