2
petermad
After you have found a solution, I would like to illustrate this in more detail with the help of a simple example:
Purpose:
I would like that only in a certain directory with pictures the 'Thumbnail view' is switched on.
After leaving this directory the View Mode <Default> should be restored.
0. View Mode <Default>
0.1 Columns view: Full
0.2 Sort order: Name
**********************************************************************************
1. Create a View Mode "Bildvorschau Thumbnails"
1.1 Columns view: Thumbnail view
1.2 Sort order: Name
2. Create an Auto Switch Mode
2.1 +: Must match -> D:\Bilder\EIZO\
2.2 Set this mode: Bildvorschau (Thumbnails)
This View Mode + Auto Switch Mode works fine (exclusive sorting after TC restart).
**********************************************************************************
If I know about of the forum posts and your very in-depth analysis,
that sorting after TC restart is retained only after a fine tuning in TC,
then,
in addition to the above points, I have TO DO THE FOLLOWING/NOTE THE FOLLOWING:
1. In the View Mode "Bildvorschau Thumbnails", under "Auto-run commands:", enter
|cm_SrcViewMode0
1.1 For some View Modes, be sure to include |cm_SrcViewMode0 in field "Auto-run commands:"
2. Create a View Mode "Folder"
2.1 Leave the "Columns view" and "Sort order" set to "Unchanged"
3. Create an Auto Switch Mode
3.1 Rule: L: With drive letter
3.2 Set this mode: Folder
3.3
Since the Auto Switch Mode-rules are processed from top to bottom, always make sure that no other rule overrules this set rule!
**********************************************************************************
With this additional View Mode + Auto Switch Mode and additional setting in each view mode it works now for me -
even the sorting is restored after TC restart!
If it stays that way, then the explanations in the Help (F1) under Configuration - Operation - Save on exit - Panels (brief/full, etc.)
would have to be adapted in my opinion (..."This includes Brief / Full / Tree, All files / Programs /Custom, and the
sort order...").
Because without additional settings as stated, the sorting is not preserved.
Now I'm beaten and I'm already on the way to frame your instructions

.
Whether this additional effort is justified for a user, stands for me on a different sheet, because of user-friendliness,
we are here far away.
For me it remains to be desired that this additional required View Mode and Auto Switch Mode will NOT lead at some point
to an unforeseen problem in another View Mode (see also pt. 3.3 above).
----------------------------------------------------------------------------
petermad wrote:Notice if you have an em_command before the | then there can not be a space between the em_command and the |.
TC will look for a command that ends with a space then.
Such a case I have not had in my View Modes, but thanks for the hint.
Thank you again for your efforts!
Regards
Karl