Page 1 of 1
Save view-settings for all subfolders but not for parent-folder itself
Posted: 23 Apr 2023 18:09
by Surya
Hello,
I am new here and say at first hello @all :-)
If I do something wrong, please tell me...
My first question:
I searched in the forum, help file, google and so on- but successless.
I want to save a view-setting for all subfolders but not for the parent-folder itself.
I want to do this for several folders/subfolders. The best example is my foto-folder.
The parent folder is "Fotos" and has a lot of subfolders like "1980 holiday Spain". The view in "Fotos" should be "Details".
The view in the subfolders like "1980 holiday Spain" should be "Miniatur #1".
But always when I try do save these settings like this it is saved for all subfolders included the parent folder.
And additionally I want to save the setting for only one folder, that folders are not sorted above files, rather than all files and folders sorted just alphabetically. But only in this one folder, not in the subfolders.
How can I achieve my both wishes?
Please help me with this...
Thanks a lot :-)
Surya
Re: Save view-settings for all subfolders but not for parent-folder itself
Posted: 23 Apr 2023 18:42
by highend
1st:
viewtopic.php?p=135516
2nd: At least achievable by using a CEA (custom event action):
General - Custom Event Actions - Changing Locations - After painting the file list, Run script
Code: Select all
$folder = "D:\Tools";
if (<newpath> == $folder) {
if (get("#333")) { #333; }
} else {
if !(get("#333")) { #333; }
}
Re: Save view-settings for all subfolders but not for parent-folder itself
Posted: 23 Apr 2023 18:52
by klownboy
2 screen shots, one for the
main folder settings in FVS and the second one for the
sub folders. Look at the "Folder to apply the settings to:" and the "Applied settings" and modify to your needs. For the main folder FVS, do not check "Include subfolders", but for the FVS for the subs, check to "Include subfolders" (and note the *). Set your view for the subs and the main separately before you save them as a FVS. For example, you may want the main folder as detail view and all the subs in a thumbnail view.
FVS - for the main folder only.jpg
FVS - for the sub folders.jpg
Re: Save view-settings for all subfolders but not for parent-folder itself
Posted: 23 Apr 2023 21:13
by Surya
klownboy wrote: ↑23 Apr 2023 18:52
2 screen shots, one for the
main folder settings in FVS and the second one for the
sub folders. Look at the "Folder to apply the settings to:" and the "Applied settings" and modify to your needs. For the main folder FVS, do not check "Include subfolders", but for the FVS for the subs, check to "Include subfolders" (and note the *). Set your view for the subs and the main separately before you save them as a FVS. For example, you may want the main folder as detail view and all the subs in a thumbnail view.
FVS - for the main folder only.jpg
FVS - for the sub folders.jpg
Thanks klownboy, that works :-) I made it before just the same, but didn't know of the *- so it seems, that was the reason why it didn't work before.
highend wrote: ↑23 Apr 2023 18:42
1st:
viewtopic.php?p=135516
2nd: At least achievable by using a CEA (custom event action):
General - Custom Event Actions - Changing Locations - After painting the file list, Run script
Code: Select all
$folder = "D:\Tools";
if (<newpath> == $folder) {
if (get("#333")) { #333; }
} else {
if !(get("#333")) { #333; }
}
Thanks highend,
but I didn't get it to work- maybe there is a mistake in my script.
The path of the folder, where the sorting should be only by alphabet, ignoring if folder or file, is "A:\". So I wrote your script in this way:
Code: Select all
$folder = "D:\Tools";
if (<A:\> == $folder) {
if (get("#333")) { #333; }
} else {
if !(get("#333")) { #333; }
}
Where is my mistake?
Re: Save view-settings for all subfolders but not for parent-folder itself
Posted: 23 Apr 2023 21:32
by highend
Code: Select all
$folder = "A:";
if (<newpath> == $folder) {
if (get("#333")) { #333; }
} else {
if !(get("#333")) { #333; }
}
Re: Save view-settings for all subfolders but not for parent-folder itself
Posted: 23 Apr 2023 21:35
by Surya
highend wrote: ↑23 Apr 2023 21:32
Code: Select all
$folder = "A:";
if (<newpath> == $folder) {
if (get("#333")) { #333; }
} else {
if !(get("#333")) { #333; }
}
Ahh, okay ;-) Now it works- thanks a lot!