I need to create button to search :
- in current source (and subfolders)
- all files no matching jpg/jpeg
- all files (even jpg/jpeg) less than 50 ko
So i create button :
with script "jpg" :
[quote]Name no match *.(jpg|jpeg)
or subclause match
Type match [file only]
and size match is less than 50 kb[/quote]
Seems to be good but why subfolders are shown ??
Leo
2
The subfolders won't match the *.(jpg|jpeg) wildcard, so they'll pass the first line.
If you only want files to match then I tihnk you need to re-order things slightly.
Instead of this:
Name no match *.(jpg|jpeg)
OR subclause match
- Type match [file only]
- AND size match is less than 50 kb
Use this:
Type match [file only]
AND subclause match
- Name no match *.(jpg|jpeg)
- OR size match is less than 50 kb
it's perfect... many thanks 