To make scripting more easier i want to suggest some new get() parameters
"SelectedItemsBaseNames", [separator=CRLF], [pane=a]
to get the base name only
"SelectedItemsNameParts", [separator=CRLF], [pane=a]
or better
"SelectedItemsBaseExt", [separator=CRLF], [pane=a]
to get base and extension but separated by an invalid char for an file name (i suggest here the question mark '?')
for further process with gettoken()
So we don't have to explain the use of report()
and also use this commands by '<get xyz>' too.
So this could be seen as an enhancement for the use of the foreach() command.
Examples, for an list like:
fileA.ext
file2.ext
File3.ext.bak
we will get with:
get("SelectedItemsBaseNames", "<crlf>");
fileA
file2
File3.ext
get("SelectedItemsNameParts", "<crlf>");
fileA?ext
file2?ext
File3.ext?bak
.
more get() parameters for base name and base/ext
Re: more get() parameters for base name and base/ext
Stefan wrote:To make scripting more easier i want to suggest some new get() parameters
get("SelectedItemsBaseNames", "<crlf>");
fileA
file2
File3.ext
.
Code: Select all
Report("{BaseName}<crlf>", 1);