I don't think so... "SelectedItemsPathNamesSlashed" into the get command. Then, by two formatlist commands we could separate files and folders into their respective variables, instead of using exists() on each. I am not sure how this could destroy anything.admin wrote: ↑15 Dec 2020 11:19Well, this would destroy lots of scripts I guess. Or I would have to introduce new variables. Well, not now...LittleBiG wrote: ↑15 Dec 2020 11:13Or it could be also good to grab the problem even at its root, generally: when I get the path of the selected items, should be an option to add the trailing slash automatically to the folders. And it could help in another cases, not only this.highend wrote: ↑15 Dec 2020 10:41 Sure but as I said, providing these items with trailing backslash (or even better: as two variables) the script can just iterate / process them in a more lightweight way because it doesn't need to useexists()for each of them to find out if it's a file or a folder.
Am I wrong when I think 2 formatlist is quicker on many items than exists for each?
Edit:
XYplorer Beta Club