Virtual Folders random pick??

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
adulttw
Posts: 21
Joined: 06 Sep 2022 04:44

Virtual Folders random pick??

Post by adulttw »

I used Virtual Folders random pick,
But it just pick files?not include folders??
If I want to pick files and folders random,
what can I do??

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: Virtual Folders random pick??

Post by highend »

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

adulttw
Posts: 21
Joined: 06 Sep 2022 04:44

Re: Virtual Folders random pick??

Post by adulttw »

highend wrote: 30 Jan 2023 05:20 pickall
That is great!!
Thx!!

adulttw
Posts: 21
Joined: 06 Sep 2022 04:44

Re: Virtual Folders random pick??

Post by adulttw »

Is there any manual??
( https://www.xyplorer.com/release_24.00.php#VFO can not find `pickall`)
How can I find parameter or other useful options?

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

Re: Virtual Folders random pick??

Post by admin »

Run this through the address bar, and then search for pick.

Code: Select all

help "idh_scripting_comref_get.htm";

adulttw
Posts: 21
Joined: 06 Sep 2022 04:44

Re: Virtual Folders random pick??

Post by adulttw »

admin wrote: 30 Jan 2023 09:06 Run this through the address bar, and then search for pick.

Code: Select all

help "idh_scripting_comref_get.htm";
:tup: :tup: :tup: :tup: :tup: :tup:
Thank U!

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

Re: Virtual Folders random pick??

Post by LittleBiG »

I don't open a new thread for it: will it be possible (or is it already) to pick files from more than one folder? Example: I have more than one Screnshoot folders and I want to get the 10 latest from the content of all combined. (It is possible that all 10 are from the same folder, but also they can be scattered.)

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

Re: Virtual Folders random pick??

Post by admin »

Sure, just concatenate your definitions:

Code: Select all

vi:<pick 8.m "Documents\Songs">|<pick 8.m "Documents\Things"> //"Last 8"

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

Re: Virtual Folders random pick??

Post by LittleBiG »

admin wrote: 02 Feb 2023 17:34 Sure, just concatenate your definitions:

Code: Select all

vi:<pick 8.m "Documents\Songs">|<pick 8.m "Documents\Things"> //"Last 8"
Unfortunately it is the last 16, 8 from here and 8 from there. :-(
I was after the last 8 from both folder together, combined. So for example, I modified recently 7 from the Songs and 1 from the Things. For this I was expected something like this:

Code: Select all

vi:<pick 8.m "Documents\Songs|Documents\Things">  //"Last 8"

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

Re: Virtual Folders random pick??

Post by admin »

No, that's not possible.

Or 3-step:
1) vi:<pick 8.m "Documents\Songs">|<pick 8.m "Documents\Things"> //"Last 8"
2) Sort list by date.
3) vi:<pick_list 8.x>

Post Reply