Page 1 of 1

Shortcut question

Posted: 12 Jun 2013 11:37
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

Re: Shortcut question

Posted: 12 Jun 2013 13:47
by admin
Example: Add this script to UDC and assign a KS:

Code: Select all

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

Re: Shortcut question

Posted: 12 Jun 2013 13:51
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