Hi. I have a button on my DOpus toolbar which has this command:
select SIMILAR
but I'd like to spruce this up by getting it to hide all unwanted files when I do the filter. How do I do this? Thanks.
Hi. I have a button on my DOpus toolbar which has this command:
select SIMILAR
but I'd like to spruce this up by getting it to hide all unwanted files when I do the filter. How do I do this? Thanks.
What do you mean by "unwanted?" You want Opus to read your mind and work out which files you want and don't want?
To me it seems like DorothyFan1 actually wants a real-time filter, not a selection (e.g. something like SET HIDEFILTERFILENAME={file}, but only taking the extension into account rather than the entire filename). Hm?
[quote="Alan"]To me it seems like DorothyFan1 actually wants a real-time filter, not a selection (e.g. something like SET HIDEFILTERFILENAME={file}, but only taking the extension into account rather than the entire filename). Hm?
Yes, that's what I want. Any ideas?
I meant SET SHOWFILTERFILENAME=*{filepath$|ext} to be precise.
[quote="Alan"]To me it seems like DorothyFan1 actually wants a real-time filter, not a selection (e.g. something like SET HIDEFILTERFILENAME={file}, but only taking the extension into account rather than the entire filename). Hm?
The revised command syntax works perfectly. Here it is in a nutshell:
SET SHOWFILTERFILENAME=*{filepath$|ext}
select SIMILAR
You first select the file with the extension you want...and then click a button with the above code..and viola! DOpus will automatically highlight the remaining files with the appropriate extension. It will automatically hide any file that doesn't fit the criteria of the one you highlighted so the only files remaining are the highlighted versions.
This command works alittle too well. I was panicky because I didn't know how to get back the files that didn't fit the criteria. Luckily I typed in "." into the filter bar on the top and all the files that didn't fit the criteria came back. Whew!
I understand now. You can do this using a single command:
Select SIMILAR HIDEUNSEL
Also, this is a handy button to have which clears all filters (except the option in Preferences which hides Hidden+System files):
Set SHOWFILTERFILENAME=""
Set HIDEFILTERFILENAME=""
Set SHOWFILTERFOLDERS=""
Set HIDEFILTERFOLDERS=""
Set HIDEFILTERATTR=""
Set SHOWFILTERATTR=""
Set VIEWFILTER=""
Select NOPATTERN SHOWHIDDEN
Always something new to learn about, this Opus thing is unbelievable
[quote="leo"]I understand now. You can do this using a single command:
Select SIMILAR HIDEUNSEL
Also, this is a handy button to have which clears all filters (except the option in Preferences which hides Hidden+System files):
Set SHOWFILTERFILENAME=""
Set HIDEFILTERFILENAME=""
Set SHOWFILTERFOLDERS=""
Set HIDEFILTERFOLDERS=""
Set HIDEFILTERATTR=""
Set SHOWFILTERATTR=""
Set VIEWFILTER=""
Select NOPATTERN SHOWHIDDEN
[/quote]
FWIW: Steve or someone else has posted code for an 'Unhide All' type button similar to this in the past... with possibly MORE functions in it to cover additional situations that might have caused files to be filtered/hidden... but this works for me (I bind it to a hotkey):
Select SHOWHIDDEN NOPATTERN
Set SHOWFILTERFILENAME
Set SHOWFILTERFOLDERS
EDIT: I swear... I usually check for thread updates before I finally hit 'Submit'.