Hi guys, is it possible to set a on filter on file status icons?
Not with "Set QUICKFILTER", but you could do it using the Select command and a saved filter, at least to filter what is currently displayed.
Is this what you had in mind? It works well for what I need but if there is a better way to do it I'm listening.
Select NOPATTERN SHOWHIDDEN
Select NONE
Select "Complete" FILTER
Select NOPATTERN HIDEUNSEL
Thanks Leo.
Can be simplified a bit:
Select NOPATTERN SHOWHIDDEN
Select PATTERN="Complete" FILTER HIDEUNSEL
(The first line is only needed if you want to undo a previous action that hid things at the same time.)
Correction, DESELECTNOMATCH is also needed in case things are selected before you click the button:
Select NOPATTERN SHOWHIDDEN
Select PATTERN="Complete" FILTER HIDEUNSEL DESELECTNOMATCH
We're also making a change for the next beta so both lines can be combined together, making everything show/hide at once, instead of what happens now where you get a flash of everything previously hidden being shown and before things being hidden again, which is ugly. (Scratch that, it turned out too complicated for now. May come back to it later.)
Could we get this to work with an @toggle?
[quote="leo"]Correction, DESELECTNOMATCH is also needed in case things are selected before you click the button:
Select NOPATTERN SHOWHIDDEN
Select PATTERN="Complete" FILTER HIDEUNSEL DESELECTNOMATCH
We're also making a change for the next beta so both lines can be combined together, making everything show/hide at once, instead of what happens now where you get a flash of everything previously hidden being shown and before things being hidden again, which is ugly. (Scratch that, it turned out too complicated for now. May come back to it later.)[/quote]
That works perfectly. Thanks Leo.
Just bumping this to hopefully get an answer to the question I posed earlier:
Could we get this to work with an @toggle?
AFAIK there isn't a way to toggle this kind of filter (using a saved filter , that is; not just using a simple wildcard).
You could probably rig something up using scripting and variables to keep track of the current state, but there isn't a simple way to do it with just commands.