SC: best way to extract only file or folders from selection?
Posted: 23 Sep 2015 21:20
Hi,
started with a real requirement (needing flattenfolder for ExifTool manipulations) I decided UDF unflattenfolder would also be cool, I've ended up adapting Ken's great WhiteSpaceCtxMenu (thanks Ken
) just for the fun of scripting.
15.70.0101 brought us two marvellous new features: Search in List (SC quicksearch) and enhanced <selitems [separator]>. Very, very, very helpful stuff!
But one thing I'm still stuck - which I have thought would have been already "solved" by the improvements mentioned above:
How can I extract all selected files from the current list selection without having to do boring boilerplate filtering using brute-force
is the one-liner I hoped for, but it dives deeper one level for every selected folder.
Thanks for inspiration.
/e: typo
started with a real requirement (needing flattenfolder for ExifTool manipulations) I decided UDF unflattenfolder would also be cool, I've ended up adapting Ken's great WhiteSpaceCtxMenu (thanks Ken
15.70.0101 brought us two marvellous new features: Search in List (SC quicksearch) and enhanced <selitems [separator]>. Very, very, very helpful stuff!
But one thing I'm still stuck - which I have thought would have been already "solved" by the improvements mentioned above:
How can I extract all selected files from the current list selection without having to do boring boilerplate filtering using brute-force
Code: Select all
if (exists($entry) == 1)Code: Select all
quicksearch("* /n /f", "<selitems ;>", "<crlf>");Thanks for inspiration.
/e: typo