Page 1 of 1

Process <selitems>

Posted: 29 Apr 2014 09:24
by binocular222
Some function such as openwith require pipie "|" separated list of items while <selitems> return in this format
"item1" "item2" "item3"
So, everytime I have to do this:

Code: Select all

$ItemList = Replace(Trim("<selitems>", '"'), '" "', "|");
I think it's not-so-nice. Anyone have a better way to process <selitems>?

Re: Process <selitems>

Posted: 29 Apr 2014 10:52
by Marco

Code: Select all

$ItemList = get("SelectedItemsPathNames", "|");

Re: Process <selitems>

Posted: 29 Apr 2014 11:15
by binocular222
Oh thanks, much more elegant now