New Get("FVS")

Features wanted...
admin
Site Admin
Posts: 66366
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: New Get("FVS")

Post by admin »

Ah, my fault. I confused list mode with view mode.

Well, possible but I'm not sure how/where I should return the info... might use the 2nd parameter for it:

Code: Select all

Syntax: get("fvs", folder, "view")
But, man, this is getting out of hand... I was not really planning to open a new can of worms here... are you sure this is your last request? :biggrin:

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

Re: New Get("FVS")

Post by klownboy »

Certainly my last request for get("FVS"). I can't promise forever though. :) If it looks like it would be a pain after looking at it, don't bother. You've got bigger fish to fry! Thanks Don.

admin
Site Admin
Posts: 66366
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: New Get("FVS")

Post by admin »

OK, next beta:

Code: Select all

echo get("fvs", "C:\Users", "view");
These are the numbers (from 1 to 10) you will get if there is a FVS for that folder: No, see 2 posts below!

Code: Select all

 1 = eViewDetails
 2 = eViewDetailsWithThumbs
 3 = eViewList
 4 = eViewSmallIcons
 5 = eViewThumbnails
 6 = eViewThumbnails2
 7 = eViewThumbnails3
 8 = eViewLargeIcons
 9 = eViewTiles
 10 = eViewTilesLarge

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

Re: New Get("FVS")

Post by klownboy »

Thanks Don, not a big deal but I was curious why you couldn't use the same return as get("view"). You return number that's plus "1" from get("view"). Is it because you couldn't or didn't want to have a "0" return for Detailed View? So I assume a "" null return when using the view parameter indicates there's no saved view mode, but there could still be a saved FVS. Using get("FVS") without the "view" parameter would still tell us if there is a view mode or not.

By the way, i meant to tell you, I like the fact that get("FVS") returns "1" if you have a FVS regardless if it's currently enabled or not. :tup:

admin
Site Admin
Posts: 66366
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: New Get("FVS")

Post by admin »

Oh yes, you are right. I'll change that, so this will be the numbers:

Code: Select all

 0 = eViewDetails
 1 = eViewDetailsWithThumbs
 2 = eViewList
 3 = eViewSmallIcons
 4 = eViewThumbnails
 5 = eViewThumbnails2
 6 = eViewThumbnails3
 7 = eViewLargeIcons
 8 = eViewTiles
 9 = eViewTilesLarge
And it will return "-1" if there is not FVS defined.

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

Re: New Get("FVS")

Post by klownboy »

The new "view" parameter for get("FVS") works great Don. Thank you. :tup: :beer:

Post Reply