I have tried using ~(*.pdf) to exclude display of PDF files in a directory - this is using the Filter Bar, brought up by hitting *. I have never used this quick Filter Bar before (didn't even know it existed!) so have not changed any defaults associated with it. This pattern is not working; all the PDF files are still showing in the lister.
DOpus 10.0.2.0.4269x64 - Windows 7 Pro, 64 bit.
Thanks for any help - can't see what I'm doing wrong.
John Cordes
You can use Set hidefilterfilenames=*.pdf avoiding the filter bar, either directly or in a button command.
If you want to permanently exclude stuff in a folder, you can also use -> tools -> folder options -> filter (tab) -> hide filter & include *.pdf in the file name field.
Thanks. Although I have used Opus for several years, I have not 'graduated' to this level yet. I tried setting a button to implement your suggestion but so far have not succeeded. I managed to drag a display file filter button to the toolbar area, and could set .pdf, but of course ~(.pdf) still doesn't work. I would like to understand why. I do not know how to make a button for the command Set hidefilterfilenames=*.pdf. This would be very useful.
Thanks,
John Cordes
You have to turn off Preferences / File Displays / Filter Bar / Partial matching for negative wildcards like ~(*.pdf) to work in the filter bar.
When the option is on, ~(*.pdf) is effectively turned into ~(.pdf)*, which matches anything, followed by anything that isn't *.pdf, followed by anything... Which will match anything at all.
[quote="leo"]You have to turn off Preferences / File Displays / Filter Bar / Partial matching for negative wildcards like ~(*.pdf) to work in the filter bar.
When the option is on, ~(*.pdf) is effectively turned into ~(.pdf)*, which matches anything, followed by anything that isn't *.pdf, followed by anything... Which will match anything at all.[/quote]
Thanks Leo. I thought I did actually try turning the partial matching off in one of my experiments this morning. It didn't work then, but it does now! One of those operator errors, apparently!
Thanks again,
John