[TC 10.52rc1] Auto Switch Mode - sorting not working
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 79
- Joined: 2022-06-16, 23:37 UTC
[TC 10.52rc1] Auto Switch Mode - sorting not working
Problem in tc1052_rc1: Auto Switch Mode - sorting not working
In tc1051 - works correctly.
When I go to the %commander_path% directory, automatically switch the display mode with an additional column, by which it is sorted in such a way that the "wincmd.ini" is always the first, then other INI-files, then BAR files, etc.
In tc1051 - works correctly.
When I go to the %commander_path% directory, automatically switch the display mode with an additional column, by which it is sorted in such a way that the "wincmd.ini" is always the first, then other INI-files, then BAR files, etc.
Re: [TC 10.52rc1] Auto Switch Mode - sorting not working
I cannot confirm this.
Can you be more specific about the View Mode and the Auto Switch Mode you use
Can you be more specific about the View Mode and the Auto Switch Mode you use
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
-
- Junior Member
- Posts: 79
- Joined: 2022-06-16, 23:37 UTC
Re: [TC 10.52rc1] Auto Switch Mode - sorting not working
2petermad
I use my scrippt VBS in PLugin WinScriptsAdv, It is similar to the "Groups" plugin.
With my current settings in TC1051 - works fine. I change only the files "TOTALCMD.EXE" and "TOTALCMD64.EXE" from the new version TC1052rc1 in the directory TC, reload the total and see that the sorting does not work. Moreover, in the panel header it is displayed correctly, but in the panel the files are sorted by default - by name.
I change the same Exe files again to TC1051 - works fine.
Screenshot: https://ibb.co/f00hZX6
If click on the column heading, then sorting occurs at the beginning in reverse order, and then when you click again - as it should.
I use my scrippt VBS in PLugin WinScriptsAdv, It is similar to the "Groups" plugin.
With my current settings in TC1051 - works fine. I change only the files "TOTALCMD.EXE" and "TOTALCMD64.EXE" from the new version TC1052rc1 in the directory TC, reload the total and see that the sorting does not work. Moreover, in the panel header it is displayed correctly, but in the panel the files are sorted by default - by name.
I change the same Exe files again to TC1051 - works fine.
Screenshot: https://ibb.co/f00hZX6
If click on the column heading, then sorting occurs at the beginning in reverse order, and then when you click again - as it should.
Re: [TC 10.52rc1] Auto Switch Mode - sorting not working
I can confirm it with WinScriptsAdv in additional column and second sorting on name (taken into account) but first sorting not waiting full view populated.
// See a sample with in option.ini of WinScriptsAdv
First line add wincmd
Script wincmd.js as sample:
Create a column view with additional columns at least on using WinScriptsAdv . TCOrder
...
Create a custom view mode setting with the user column and define sort based on the TCOrder and second sort based on name ...
Autoswitch on %commander_path%
....
// See a sample with in option.ini of WinScriptsAdv
First line add wincmd
Code: Select all
[Script]
ActiveScripts=......|wincmd
[wincmd]
Script=wincmd.js
content=TCOrder
extensions=*
FoldersPaths=0
Code: Select all
fn = filename.toLowerCase()
fn = fn.substring(filename.lastIndexOf("\\")+1)
ext = fn.substring(fn.lastIndexOf("."));
sort = "A"
if ( fn === "wincmd.ini" ){
sort = "0"
} else if ( fn === "wincmd.key" ){
sort = "-1"
}else if ( ext === ".ini" ){
sort = "1"
}else if ( ext === ".bar" ){
sort = "2"
}else if ( ext === ".br2" ){
sort = "2"
}else if ( ext === ".exe" ){
sort = "3"
}else if ( ext === ".com" ){
sort = "4"
}else if ( ext === ".dll" ){
sort = "5"
}else if ( ext === ".chm" ){
sort = "6"
}else if ( ext === ".hlp" ){
sort = "6"
}else if ( ext === ".sfx" ){
sort = "7"
}else if ( ext === ".sys" ){
sort = "8"
}else if ( ext === ".original" ){
sort = "Z"
}
content = sort
...
Create a custom view mode setting with the user column and define sort based on the TCOrder and second sort based on name ...
Autoswitch on %commander_path%
....
Re: [TC 10.52rc1] Auto Switch Mode - sorting not working
2monarch-lfv
I have tried with a couple of Custom columns and here the sorting chosen for the View Mode is applied OK, so it must be with a problem between WinScriptsAdv and TC specifically. Does it not work with the Groups plugin either?2petermad
I use my scrippt VBS in PLugin WinScriptsAdv, It is similar to the "Groups" plugin.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
-
- Junior Member
- Posts: 79
- Joined: 2022-06-16, 23:37 UTC
Re: [TC 10.52rc1] Auto Switch Mode - sorting not working
2petermad
I tested it, it also does not work with the "groups" plugin.
I tested it, it also does not work with the "groups" plugin.
Re: [TC 10.52rc1] Auto Switch Mode - sorting not working
Does it work for you with a Custom column with for example just items from the build in tc content plugin.monarch-lfv wrote: 2022-10-05, 12:13 UTC 2petermad
I tested it, it also does not work with the "groups" plugin.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
-
- Junior Member
- Posts: 79
- Joined: 2022-06-16, 23:37 UTC
Re: [TC 10.52rc1] Auto Switch Mode - sorting not working
2petermad
Unfortunately, this do not work even if I puting in the column [= tc.size]. It does not work precisely on TC1052rc1 (both x32 and x64). I checked on Win10x64 and Win7x64.
On TC1051 everything works fine.
Unfortunately, this do not work even if I puting in the column [= tc.size]. It does not work precisely on TC1052rc1 (both x32 and x64). I checked on Win10x64 and Win7x64.
On TC1051 everything works fine.
Re: [TC 10.52rc1] Auto Switch Mode - sorting not working
Hmm, here it works if I set [= tc.size] for sorting using Auto Switch Mode.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 10.52rc1] Auto Switch Mode - sorting not working
There are no changes in auto switch mode and view modes between 10.51 and 10.52rc1, except for the option to show solid colors in the tab headers.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Junior Member
- Posts: 79
- Joined: 2022-06-16, 23:37 UTC
Re: [TC 10.52rc1] Auto Switch Mode - sorting not working
May be here the problem? Because, as I wrote above, in version 1051 everything works fine.ghisler(Author) wrote: 2022-10-06, 07:41 UTC except for the option to show solid colors in the tab headers.
Replaced only the files of "TOTALCMD.EXE" and ""TOTALCMD64.EXE"".
Re: [TC 10.52rc1] Auto Switch Mode - sorting not working
2monarch-lfv
I don't think that is the reason - I compared the files for TC 10.51 and TC 10.52rc1 - the only binary files that are different is TOTALCMD64.EXE and the help file.May be here the problem? Because, as I wrote above, in version 1051 everything works fine.
Replaced only the files of "TOTALCMD.EXE" and ""TOTALCMD64.EXE"".
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
-
- Junior Member
- Posts: 79
- Joined: 2022-06-16, 23:37 UTC
Re: [TC 10.52rc1] Auto Switch Mode - sorting not working
Please, try this wincmd.ini:
And enter to directory %commander_path%. Then exit it with the "Enter" button on the keyboard and then enter again.
Code: Select all
[CustomFields]
Titles=111
AutoLoad=0
Widths1=255,30,-45,-80
Headers1=size\ndate
Contents1=[=tc.size]\n[=tc.writedate.D.M.Y h:m:s]
Options1=-1|0|96
[ViewModes]
0_name=<Default>
0_icon=
0_options=1|1|0||-1|-1|-1|-1|-1
1_name=colorTC
1_icon=
1_options=6|100|0||-1|-1|-1|2105344|2105344
[ViewModeSwitch]
Enabled=1
0_rules=?%commander_path%\*\
0_mode=1
Re: [TC 10.52rc1] Auto Switch Mode - sorting not working
2monarch-lfv
Tried your wincmd.ini:
1. When I enter %commander_path% the "111" Custom colums view is loaded and sorting is set to "size".
2. When I exit %commander_path% the Full view is loaded and sorting is set to "Ext".
When I repeat pressing Enter to go in and out of %commander_path% then 1 and 2 happens again (and again and again) - just as expected. What happens for you?
Tried your wincmd.ini:
1. When I enter %commander_path% the "111" Custom colums view is loaded and sorting is set to "size".
2. When I exit %commander_path% the Full view is loaded and sorting is set to "Ext".
When I repeat pressing Enter to go in and out of %commander_path% then 1 and 2 happens again (and again and again) - just as expected. What happens for you?
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
-
- Junior Member
- Posts: 79
- Joined: 2022-06-16, 23:37 UTC