Can I use a command id in a script for a Visual filter ?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: Can I use a command id in a script for a Visual filter ?

Post by Stefan »

admin wrote:
Stefan wrote:2.) This "View Menu" side (from which "Set Visual Filter" is an sub-topic) has no item in the content list on the left of the help file.
We can only find this by using "Find" or "Index" by accident. Or if someone point use to that.

I wonder now what else i have missed from the help, because usually i use the "Content" side to see what is in the help..
Please explain again.
I mean in the left pane of the XY help file, in the tree view with the contents (example picture)
there is no entry for this "View Menu" with "Set Visual Filter"-info (nor for any other menu).

So i usually never see this info, because i look only into the Content pane to find something,
not into Index or rarely Find pane.


I think there should be an top entry "Menu" (like "Configuration", "Main Topics", "Advanced Topics")
where all the menu related topics are collected.

There are people reading the help :lol: , and an good managed help can answer many question in first place.
But i know... the time.
.

ilya
Posts: 66
Joined: 02 Jun 2009 22:42

Re: Can I use a command id in a script for a Visual filter ?

Post by ilya »

I trying to make catalog item for on/off visual filter. For example, I make new item in catalog with caption "Hide/Show Folders" and with location "|!\|". But this code works only for the inclusion of a filter and does not disable the filter when pressed repeatedly. How I can make toggle custom visual filter with only one item (script)?

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

Re: Can I use a command id in a script for a Visual filter ?

Post by admin »

ilya wrote:I trying to make catalog item for on/off visual filter. For example, I make new item in catalog with caption "Hide/Show Folders" and with location "|!\|". But this code works only for the inclusion of a filter and does not disable the filter when pressed repeatedly. How I can make toggle custom visual filter with only one item (script)?
Toggling Visual Filters like this is not possible.

But for your task there is a special command: View / Show Items / Show Folders in List (Ctrl+Shift+O)

ilya
Posts: 66
Joined: 02 Jun 2009 22:42

Re: Can I use a command id in a script for a Visual filter ?

Post by ilya »

Thanks, good workaround for folders, but not for any other type of custom filtering.

Maybe scripting need something like get("VisualFilter")? ;) If it applied, then get this pattern, else return false (or something).

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

Re: Can I use a command id in a script for a Visual filter ?

Post by admin »

ilya wrote:Thanks, good workaround for folders, but not for any other type of custom filtering.

Maybe scripting need something like get("VisualFilter")? ;) If it applied, then get this pattern, else return false (or something).
Ask me again in 10 days. Holiday now!

ilya
Posts: 66
Joined: 02 Jun 2009 22:42

Re: Can I use a command id in a script for a Visual filter ?

Post by ilya »

Let me remind you ;)

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

Re: Can I use a command id in a script for a Visual filter ?

Post by admin »

ilya wrote:Let me remind you ;)
Ok... :)

ilya
Posts: 66
Joined: 02 Jun 2009 22:42

Re: Can I use a command id in a script for a Visual filter ?

Post by ilya »

And now it's done. Thanks you very much!

Post Reply