Multi Commander > Support and Feedback
Filter + Custom commands broken?
Ulfhednar:
Using MC 6.2 b2147 on W7x64
So far I found that neither of these would work, when I added them to buttons: -
MC.Explorer.Selection.Select FILTER=*.zip;*.rar
MC.Filesystem.Delete FILTER="*.zip;*.rar"
I tried with " " & without.
...or is it me? :-\
Jungle:
Try space instead of semicolon
--- Code: ---FILTER="*.zip *.rar"
--- End code ---
Ulfhednar:
Thanks Jungle
I had seen ; on the dialog help txt so used it, having forgotten the <space> option. :)
Unfortunately with space it also fails - it only selects the first term ???
I wanted to delete the archives where found so tried
--- Code: ---MC.Filesystem.Delete FILTER="*.zip *.rar"
--- End code ---
but no selection is made; so added
--- Code: ---MC.Explorer.Selection.Select FILTER=*.zip;*.rar
MC.Filesystem.Delete FILTER="*.zip;*.rar"
--- End code ---
but MC then makes a single string (bad?)
--- Code: ---MC.Explorer.Selection.Select FILTER="*.zip *.rar"MC.Filesystem.Delete FILTER="*.zip *.rar"
--- End code ---
& that fails selecting only the zips.
Mathias (Author):
--- Quote from: Ulfhednar on May 13, 2016, 12:50:48 ---Thanks Jungle
I had seen ; in the manual so used it, having forgotten the <space> option. :)
Unfortunately with space it also fails - it only selects the first term ???
--- End quote ---
Some places uses ; for filter, But Im moving away from that since ";" is actually a valid character in the file system
DELETE do not support "Filter" (anymore)
If you look in the UI Delete dialog you see that the filter section is disabled.It is disabled becuse of wierd issues.
but selection works
--- Code: ---MC.Explorer.Selection.Select FILTER="*.txt *.zip"
--- End code ---
Ulfhednar:
Ahh OK thanks Mathias.
That explains it! :)
Hadn't been connecting the dialog state to the custom command creation. I will go & stand at the back of the class....
Navigation
[0] Message Index
[#] Next page
Go to full version