What can Virtual Folders do?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: What can Virtual Folders do?

Post by admin »

For some double-clickable help pages:
vi:help "idh_paperfolders.htm";|help "idh_virtualfolders.htm";

GUIguy
Posts: 95
Joined: 03 Jan 2016 02:11
Location: Oregon, USA Win 10-64
Contact:

Re: What can Virtual Folders do?

Post by GUIguy »

No,

Code: Select all

vi:<clp>
just gives me an empty tab:
vi-clp empty.png
vi-clp empty.png (44.62 KiB) Viewed 667 times
What am I doing wrong?
GUIguy
I measure a good day by how little I fell behind

Quick, hire a teenager while they still know everything!

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

Re: What can Virtual Folders do?

Post by admin »

What is in the clipboard? Should be files or folders.

GUIguy
Posts: 95
Joined: 03 Jan 2016 02:11
Location: Oregon, USA Win 10-64
Contact:

Re: What can Virtual Folders do?

Post by GUIguy »

I rarely place complete files or folders on the clipboard. It’s usually snippets of text or images, so does that mean that they will not appear in this virtual folder?

After thinking about your response, I guess snippets of text or images are not in the file system, so therefore, they won’t appear in the virtual clipboard, is that correct?

If so, I apologize for the bandwidth I’ve occupied here.
GUIguy
I measure a good day by how little I fell behind

Quick, hire a teenager while they still know everything!

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

Re: What can Virtual Folders do?

Post by admin »

Allowed are files, folders, URLs, and one-line scripts.

GUIguy
Posts: 95
Joined: 03 Jan 2016 02:11
Location: Oregon, USA Win 10-64
Contact:

Re: What can Virtual Folders do?

Post by GUIguy »

What constitutes a one line script? Does it have to be a file?

I’m wondering if there is a way to make text copied to the clipboard into some kind of “thing“ that XY will treat as a one line script.
GUIguy
I measure a good day by how little I fell behind

Quick, hire a teenager while they still know everything!

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

Re: What can Virtual Folders do?

Post by admin »

Don't worry about it. It's not even an official feature at the moment.

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

Re: What can Virtual Folders do?

Post by admin »

Question to all: Should Virtual Folders only show items that exist?

It would make a difference e.g. with vi:<get list_recentlyopenedfiles>, see viewtopic.php?t=25818

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

Re: What can Virtual Folders do?

Post by highend »

It's a bit like zombies in the paperfolder...

They can make sense and they can not. Maybe give :vi an option to show them but by default turn them off?
One of my scripts helped you out? Please donate via Paypal

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

Re: What can Virtual Folders do?

Post by admin »

Yep, probably / sadly true. :) I'll think about a way.

Adequat
Posts: 95
Joined: 20 Jul 2007 12:03

Re: What can Virtual Folders do?

Post by Adequat »

I use Virtual Folders (actually only one so far), for the following thing:

I have several scripts that are located in various folders, for good reasons. And I use a virtual folder to access them all from the same "folder". This is quite useful.

I know I will use this feature for other similar reasons. I just have to find the time to set them up. To be honest, I am not amazed by new XY features for quite some time, but this one is an exception :)

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

Re: What can Virtual Folders do?

Post by admin »

Thanks for the feedback!

Scripts and URLs will always pass the test-for-existence (in case I add that test).

Garonne
Posts: 116
Joined: 21 Apr 2015 19:10
Location: Germany
Contact:

Re: What can Virtual Folders do?

Post by Garonne »

highend wrote: 15 Feb 2023 17:21 It's a bit like zombies in the paperfolder...

They can make sense and they can not. Maybe give :vi an option to show them but by default turn them off?
This does make sense. The nature of virtual folders does kind of make you believe the files/folders displayed should be currently existing... Then again... if you use virtual folders with a stationary list you should be aware that not all files/folders are existing (anymore)...

You won't expect paper folders to only show existing files/folders, and "list_recentlyopenedfiles" could very well be seen as a paper folder (or at least something similar... they are both lists of files... past and current.)

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

Re: What can Virtual Folders do?

Post by admin »

I'm currently experimenting with a syntax extension that allows to pack some switches into the VFO definition:
vi:[|space for switches|][the main definition]

For example, this could be a way to explicitly allow zombies in <get list_recentlyopenedfiles> (if we default to not allowing zombies):
vi:|z|<get list_recentlyopenedfiles>

Looks good?

Garonne
Posts: 116
Joined: 21 Apr 2015 19:10
Location: Germany
Contact:

Re: What can Virtual Folders do?

Post by Garonne »

admin wrote: 17 Feb 2023 14:00 I'm currently experimenting with a syntax extension that allows to pack some switches into the VFO definition:
vi:[|space for switches|][the main definition]

For example, this could be a way to explicitly allow zombies in <get list_recentlyopenedfiles> (if we default to not allowing zombies):
vi:|z|<get list_recentlyopenedfiles>

Looks good?
Looks perfect to me... Easy to understand... Backwards compatible... Everything you might want. :D

Post Reply