hKing
September 26, 2013, 2:34pm
1
Hi there,
I want to make a button that can do the following:
Check a folder if there are files with a specific file-extensions, for example *.mp3 and *.cue. If the script finds files, simply list all of them.
I think it's basically an automated search-script with multiple queries. It would help me to handle files and it would make my life easier.
Is it possible to program such a button?
Regards
abr
September 26, 2013, 3:39pm
2
Try following code:
set FLATVIEW=MixedNoFolders SHOWFILTERFILENAME=(*.mp3|*.cue)
This works only for the files & folders below the one, you´re currently using.
Leo
September 26, 2013, 3:56pm
3
Do you want it to be recursive or only show things directly below the current folder?
hKing
September 26, 2013, 4:01pm
4
Wow, this seem to work, thank you!
Can you explain what you mean with "This works only for the files & folders below the one, you´re currently using."?
If I select a drive and hit the button, it lists every specific file (I think)...
abr
September 26, 2013, 4:09pm
6
[quote="hKing"]Wow, this seem to work, thank you!
Can you explain what you mean with "This works only for the files & folders below the one, you´re currently using."?
If I select a drive and hit the button, it lists every specific file (I think)...[/quote]
What i meant, that it´s not like a global search (all drives). But if you´re in the root of your musik drive (for instance),
it should work fine.
hKing
September 26, 2013, 4:13pm
7
Well ok, now I get it
I think it works just fine when I am (for example) on a drive.
The button is really awesome, already saved me some time!
hKing
September 29, 2013, 10:46am
8
Can someone tell me how I have to alter the
set FLATVIEW=MixedNoFolders SHOWFILTERFILENAME=(*.mp3|*.cue)
only works within the active folder?
Leo
September 29, 2013, 10:57am
9
From other messages I see you've worked this out already, but for anyone else following the thread and looking for the same information:
Take out the FLATVIEW=MixedNoFolders part and it won't switch you into Flat View anymore. Leave in the SHOWFILTERFILENAME=(.mp3| .cue) part and it will still set that filter, on the current folder.
abr
September 29, 2013, 11:05am
10
You also might add HIDEFILTERFOLDERS , if you want only the files left.