Shortcut question

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Ysl
Posts: 165
Joined: 03 Jan 2007 22:22

Shortcut question

Post by Ysl »

Hello

Can someone tell me how I can make a keyboard shortcut to set the visual filter to "audio files" or "text files" etc...

Thanks

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

Re: Shortcut question

Post by admin »

Example: Add this script to UDC and assign a KS:

Code: Select all

filter '"Text|Text Files" {:Text}';

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: Shortcut question

Post by Stefan »

Define an "User-Defined Command".
UDC are user defined menu commands, you can also assign keyboard shortcuts to them.

In that UDC create a script to do what you want.
In this case utilize "Help > Scripting Commands Reference > filter"

http://www.xyplorer.com/xyfc/viewtopic.php?f=7&t=6560



If you need more aid just ask or search the forum for 'Visual Filters' for syntax.



upps, to slow

Post Reply