Page 2 of 2

Re: New Get("FVS")

Posted: 11 Apr 2018 15:33
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:

Re: New Get("FVS")

Posted: 11 Apr 2018 15:42
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.

Re: New Get("FVS")

Posted: 11 Apr 2018 16:05
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

Re: New Get("FVS")

Posted: 11 Apr 2018 16:40
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:

Re: New Get("FVS")

Posted: 11 Apr 2018 16:46
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.

Re: New Get("FVS")

Posted: 12 Apr 2018 13:48
by klownboy
The new "view" parameter for get("FVS") works great Don. Thank you. :tup: :beer: