A toggle filters on/off button?

Hi,

I must have been some years ago I got a button from this help forum.
Unfortunatelly, that doesn't work for toggling the file filters, it only works for the folder filters.

Here's the code :

<?xml version="1.0"?> <button display="both" icon_size="large" label_pos="bottom"> <label>Filters</label> <icon1>#recursivefilter</icon1> <function type="normal"> <instruction>// Prevent the button from being highlighted</instruction> <instruction>Set HIDEFILTERFOLDERS=&quot;($RECYCLE.BIN|RECYCLER|Recycled|System Volume Information)&quot;</instruction> </function> </button>

You see it contains my own additions, but my real question is, Is there some simple filters toggle button that does exactly that : Toggle the filters on/off (both file & folder filters) while automatically taking care of each filters set for every folder ?

I just have a button which clears all filters. If I want the default filters back for the particular folder I'm in, I just re-load the folder.