Three XYplorer Questions

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
prr
Posts: 36
Joined: 15 Jan 2013 21:19

Three XYplorer Questions

Post by prr »

I just started the trial version a few weeks ago. I do have a few questions:

(1) How do I adjust the size of the icons & thumbnails? I did this once, but made them too big, then forgot how to change them

(2) Can I have certain folders show me icons (documents), but other folders of pics, show thumbnails?

(3) Can I customize which folders show their contents according to name, and which show their contents sorted by modified? I do want most files sorted by name, but there are some that I do like sorted by date modified.

Norn
Posts: 504
Joined: 24 Oct 2021 16:10

Re: Three XYplorer Questions

Post by Norn »

(1) Configuration | Preview | Thumbnails | Thumbnail widths and heights
Customize Keyboard Shortcuts: Shift+F9 / View / Views

(2) Tools-Customize File Icons
setthumb , "D:\Icons\Documents.ico";

(3) Tools / Customize List / Manual Sorting?
Or secondary sort by modified in ascending order? sortby "m", "a", 1;
Windows 11 24H2 @100% 2560x1440

highend
Posts: 14926
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Three XYplorer Questions

Post by highend »

2 & 3:
Menu - View - Folder View Settings - [x] Enable Folder View Settings

Setup your normal view settings and store that with:
Menu - View - Folder View Settings - Define this Folder View as Default

Afterwards set up your individual folders as you like and use
Menu - View - Folder View Settings - Save Folder View
for each of them...
One of my scripts helped you out? Please donate via Paypal

prr
Posts: 36
Joined: 15 Jan 2013 21:19

Re: Three XYplorer Questions

Post by prr »

Great, thanks, that works.

prr
Posts: 36
Joined: 15 Jan 2013 21:19

Re: Three XYplorer Questions

Post by prr »

OK I was able to set a default view, as well as a view for particular folders. Thanks a lot.

I still have one more related question. Is there a way I can get XYplorer to always show folders with images (or even mainly images), as thumbnails? Or will I have to do this for every single folder with images (explicitly tell XYplorer to show thumbnails for that particular folder)?

This isn't a showstopper for me, by any means. It is much much quicker than Windows Explorer, so I'm liking this, regardless. Its just a matter of me trying to make it as convenient to use as possible.

highend
Posts: 14926
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Three XYplorer Questions

Post by highend »

Configuration - General - Custom Event Actions - Changing Locations - After painting the file list
Action = Run script

Script:

Code: Select all

    // At a rate of 75% image files, go into large icon view
    $files     = listfolder(<newpath>, , 1, <crlf>);
    $cntFiles  = gettoken($files, "count", <crlf>);
    $images    = quicksearch("{:Image} /n", $files);
    $cntImages = gettoken($images, "count", <crlf>);
    if ($cntFiles) {
        $percent = $cntImages / $cntFiles;

        if ($percent >= 0.75) {
            if (get("view") != 7) { #308; } // Thumbnails #3
        } else {
            if (get("view") != 0) { #302; } // Details view
        }
    }

One of my scripts helped you out? Please donate via Paypal

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Three XYplorer Questions

Post by LittleBiG »

prr wrote: 08 Jan 2023 03:54 Or will I have to do this for every single folder with images (explicitly tell XYplorer to show thumbnails for that particular folder)?
Of course not. If you use folder view settings, you can use wildcards in the path list. Mine is like this: *\Pictures|* pictures|*_pictures|*\Screenshots

klownboy
Posts: 4459
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8037 at 100% 2560x1440

Re: Three XYplorer Questions

Post by klownboy »

If you don't want to set up Folder View Settings and/or use LittleBig's idea of having FVS apply to multiple folder scenarios, I would think about prefacing highend's script with an if statement like, if(get("FVS", <newpath>, "view") == "-1") { with an additional closing } at the end of the script.
That would eliminate performing those steps which check the folder for the number of files and number of images and percentage for any folders which have a saved folder view (FVS).

Folder View Settings (FVS) are definitely the way to go, but if you are very frequently are dealing with new folders some with images or some without, only then consider the CEA script.

Post Reply