A couple of months ago i found following function somewhere here:
<?xml version="1.0"?>
Select Extension
Select All Files Matching the Current File Extension
#selectwild
@nodeselect
@firstfileonly
@nofilenamequoting
Select PATTERN *{f|ext}
which allowed to select a number of extensions, for instance *.exe and *.rar, and a click on that button selected all matching files.
For some reason, it seems like it doesn´t work anymore. Only one of the selected extension types will be selected throughout the folder, while the other will be ignored. How is this possible?
A litte more explaining: let´s say, there is prg1.exe, prg2.exe, prg3.exe, arc1.rar, arc2.rar and arc3.rar in that folder, it was possible (iirc) to select only prg1.exe and arc1.rar, klick that button & all six files would have been selected. Now it´s like it selects all rars, but ignore the other exes.
Any idea someone?
<?xml version="1.0"?>
<button backcol="none" display="both" textcol="none">
<label>Select Extension</label>
<tip>Select All Files Matching the Current File Extension</tip>
<icon1>#selectwild</icon1>
<function type="normal">
<instruction>@nodeselect</instruction>
<instruction>@nofilenamequoting</instruction>
<instruction>dopusrt /cmd Select PATTERN "*{f|ext}"</instruction>
</function>
</button>[/quote]
Thank you very much, nudel!
This makes that button even more efficient. It should be included in the official function set.
In the german version i only found a button with the same icon, but a different functionality, some filter mask thing. That´s why i first didn´t find it in the customize dialogue, until i remembered it was some button from this forum & i had it in my little "collection of Dopus tricks" textfile
For what it's worth, it is in the manual with a fairly explicit example command:
If every possible combination of button arguments was added to the list of preset buttons in the Customize dialog then the list of preset buttons would be very long. In particular it would be longer than the section of the manual which lists all the possible arguments and what they do. Still, it's always up for discussion which particular functions are and aren't common/useful enough to include in the presets list.