Remember folder view settings

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
wanderer
Power Member
Power Member
Posts: 1575
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Remember folder view settings

Post by *wanderer »

It would be nice for TC to remember folder view settings (on demand). Things like sort order, brief/full/thumbnail, etc. It would be nice to have a new menu option ("save current folder view", much like the "save settings" that currently exists) which would store the current folder's view settings and when the user enters that folder, TC applied those settings otherwise use the defaults. There should also be a way to "forget current view settings", which would delete them and restore the default view for the defined folder.
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

I don't think this is really a good idea to store really folder-specific view settings. They may lead to a ton of different views. I really prefer the current way of having view modes which can be loaded on demand.

Would you suggest is theoretically already possible but requires quite some manual configuration.

So applying the current view to a new or existing view mode would be nice. In addition adding the current folder to a new or existing auto view mode switch rule would come in handy.
User avatar
wanderer
Power Member
Power Member
Posts: 1575
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Post by *wanderer »

Lefteous wrote:I don't think this is really a good idea to store really folder-specific view settings. They may lead to a ton of different views.
Well, this would actually lead to a ton of different folder-view combinations. If i understand correctly, what you're proposing is to define specific view-modes and associate each folder with a specific view-mode.

Not bad. That would make things more organized.
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2wanderer
Well, this would actually lead to a ton of different folder-view combinations.
The question is if these views are really so folder-specific or there are just a bunch of views which are being loaded for some well-defined folders.
User avatar
wanderer
Power Member
Power Member
Posts: 1575
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Post by *wanderer »

Lefteous wrote:2wanderer
Well, this would actually lead to a ton of different folder-view combinations.
The question is if these views are really so folder-specific or there are just a bunch of views which are being loaded for some well-defined folders.
My guess is that it depends on the user. How organized he is.

In any case, having a set of defined views and associate folders with them, seems to be a more organized way. That way you can alter a view and the changes automatically apply to all associated folders.

Me likes. I hope Christian likes too and adds it to his 10-years-long todo list. :)
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

In any case, having a set of defined views and associate folders with them, seems to be a more organized way. That way you can alter a view and the changes automatically apply to all associated folders.
Well but this is already there...
User avatar
wanderer
Power Member
Power Member
Posts: 1575
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Post by *wanderer »

Lefteous wrote:Well but this is already there...
OK, granted i'm not following TC as i used to in the past, but... Did i miss such a thing? Can you pls point me to a direction?
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Overview: View Mode | Auto Switch Mode | Custom columns

Post by *tuska »

wanderer wrote:Can you pls point me to a direction?
Perhaps this can give you an impression or at least a small entrance assistance:
viewtopic.php?p=329833#329833 -> up from quotation 2)

and the following:

Code: Select all

VIEW MODE                      Configuration - Options... - View Mode
---------------------------------------------------------------------------------------------------------------------------------
Name ........................: Title (self-selected name); [Option: See -> Auto Switch Mode - field: "Set this mode:"] 
Columns view ................: according to list (default) OR saved "Custom columns view" in the drop-down box can be integrated(!)
Sort order: .................: Descending: Yes / No (hooked = Yes) 
Additional sort orders: .....: 1 Name, 2 Ext, 3 Size, 4 Date ---  Ascending / Descending (press the plus-sign) 
Tab color and icon ..........: Self-explanatory or simply press F1 for help
Background color ............: Self-explanatory or simply press F1 for help
Background color2 ...........: Self-explanatory or simply press F1 for help
Priority ....................: Explanations: Press F1 for help
Auto-run commands ..........): press F1 for help; press the "+" plus-sign, e.g. em_commands, 
............................): Windows splittings [20/80,30/70,40/60,50/50,60/40,70/30,80/20]:
............................): cm_100percent|cm_50percent, cm_100Percent 70|cm_50Percent, cm_100percent -20|cm_100Percent,
............................): Width of the active window (70%): cm_100percent 70 
............................): Width of the left window   (20%): cm_100percent -20
............................): The separator line is located BEFORE the vertical buttonbar, a double-click on it = 50:50 view.
Commands (Selection) .......): cm_SrcViewModeList (= Show - Custom View Modes), cm_SrcViewModeList NameOfYourViewMode, 
............................): cm_SrcViewMode0 (default View Mode), cm_SrcViewMode1 to 9 (8501-8509); 8510-8749 ***) EDIT2
Command browser ............): cm_CommandBrowser => Search for: cm_SrcViewMode
%COMMANDER_PATH%\wincmd.ini .: sections [ViewModes], [left], [right]
View Mode <Default> ........): You should define here what you want to get as a view when this view mode has finished,
............................): especially in the case of a combination with an Auto Switch Mode.

Code: Select all

AUTO SWITCH MODE               Configuration - Options... - Auto Switch Mode
---------------------------------------------------------------------------------------------------------------------------------
Automatically switch view mode on directory change: Yes / No => Turns the automatic view mode change on/off. (according to Help-F1)
RULES .......................: Rule Summary - is composed of all the lower level-rules and includes the View Mode of 
.............................: the field: "Set this mode:". IMPORTANT: Only the same View Mode can be set for several 
.............................: lower level-rules, otherwise the last saved View Mode is applied to the rule!
Lower level rule 1-Rule .....: Field content, eg +: Must match or S: Search result, etc.
lower level-rule 1-Directory : Field content or leave it empty
lower level-rule 1-File Types: Field content or leave it empty
Combination with AND / OR ...: click on "More sub-rules" then on "&"(left) to get ... & AND (all match) ... | OR (any match)  
Lower level rule 2-Rule .....: If available - Field content, eg +: Must match or S: Search result, etc.
lower level-rule 2-Directory : Field content or leave it empty
lower level-rule 2-File Types: Field content or leave it empty
Combination with AND / OR ...: click on "More sub-rules" then on "&"(left) to get ... & AND (all match) ... | OR (any match)  
Lower level rule 3-Rule .....: If available - Field content, eg +: Must match or S: Search result, etc.
etc.
Set this mode ...............: Choose this field content by drop-down box: This VIEW MODE is applied to RULES (Rule Summary)!
Rules - Overlaps ...........): TC goes through the list of rules from top to bottom, and applies the first one that applies.
Rules - Overlaps ...........): Use arrow up   (Moves the vertical position one line up) or
Rules - Overlaps ...........): use arrow down (moves the vertical position one line down)
Rules - Overlaps ...........): to change the order in the list of rules [=> Prioritization change!].
Commands (Selection) ........: cm_ConfigViewModeSwitch, cm_ToggleAutoViewModeSwitch (Turn automatic view mode switching on/off)
Command browser ............): cm_CommandBrowser => Search for: auto
%COMMANDER_PATH%\wincmd.ini .: section [ViewModeSwitch]

Code: Select all

CUSTOMS COLUMNS VIEW           Configuration - Options... - Custom columns
---------------------------------------------------------------------------------------------------------------------------------
Commands (Selection) .......): cm_SrcCustomViewMenu (=Show - Custom Columns Mode; Right-click on column headers), 
............................): cm_SrcCustomView1 to 9 (271-279); 280-299 ***), [Option: cm_SrcViewMode0 (default View Mode)]
Command browser ............): cm_CommandBrowser => Search for: cm_SrcCustomView
HTH?
-------------
EDIT

Code: Select all

EDIT1: Selection of commands added

EDIT2: ***) Added: It is to be noted that with the following commands, if they are to be used with a button, namely
cm_SrcViewMode1 to 9 (8501-8509); 8510-8749 ...... up from here: cm_SrcViewMode10   ) these must be recorded in the  
cm_SrcCustomView1 to 9 (271 to 279); 280 to 299 .. up from here: cm_SrcCustomView10 ) file TOTALCMD.INC ... ITSELF!
TC only knows the commands, which are in the TOTALCMD.INC!

Examples:
[________View modes_________]=0		[________Custom column views_________]=0
cm_SrcViewMode9=8509;                   cm_SrcCustomView9=279;
cm_SrcCustomView10=8510;                cm_SrcCustomView10=280;
cm_SrcCustomView11=8511;                cm_SrcCustomView11=281;
cm_SrcCustomView12=8512;                cm_SrcCustomView12=282;
cm_SrcCustomView13=8513;                cm_SrcCustomView13=283;
cm_SrcCustomView14=8514;                cm_SrcCustomView14=284;
cm_SrcCustomView15=8515;                cm_SrcCustomView15=285;
...                                     ...
cm_SrcCustomView249=8749;               cm_SrcCustomView29=299;

Limitation:						
- View modes ........: The number of buttons is limited to 249.
- Custom column views: The number of buttons is limited to  29.

EDIT3: Added - Rules - Overlaps in Auto Switch mode
EDIT4: Added - Field "Priority" in VIEW MODE, Rules - Overlaps: Description of arrows, Limitation, Note; partial formatting
EDIT5: Added - View mode - Auto-run commands - additional commands regarding windows splittings (partially with description).
EDIT6: Added - Rules - Overlaps - Term "Prioritization change", as well as a title for the post

Code: Select all

Important NOTE:											
A "Custom Colums view" or a "View Mode" will be preserved until it is changed to another view
a) manually, e.g. with a self-defined button - examples are listed above ...
b) automatically, in the case of a view mode, if a combination with an "Auto Switch Mode"-rule exists
b) and "Automatically switch view mode on directory change:" is hooked
Last edited by tuska on 2017-07-05, 11:52 UTC, edited 6 times in total.
User avatar
wanderer
Power Member
Power Member
Posts: 1575
Joined: 2003-03-28, 14:35 UTC
Location: Sol

Post by *wanderer »

Wow. Nice one...

Thanks, to both of you for opening my eyes.
- Wanderer -

¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3
x64: Clients/Servers from Win7 to Win11 and Win2K12Srv to Win2K22Srv, mainly Win10 though.
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Selection of commands added

Post by *tuska »

Important additions were made, please see above the editing notes.
User avatar
tuska
Power Member
Power Member
Posts: 3741
Joined: 2007-05-21, 12:17 UTC

Re: Remember folder view settings

Post by *tuska »

The above information has been completely revised:
viewtopic.php?f=3&t=53559 Overview (english)
viewtopic.php?f=2&t=53558 Übersicht (deutsch/german)
Post Reply