Here is my goal:
Several items are selected. Selected items could be files or folders.
The script should check all selected items and do the following job:
- If the selected item is a "File" → The folder containing the selected file should open in a new background tab.
- If the selected item is a "Folder" → The selected folder should open in a new background tab.
My attempt failed at the very beginning step. I have selected 5 folders and I use the "tab" command as follows:
Code: Select all
$ItemsAddress = get("SelectedItemsPathNames");
tab("newb", "$ItemsAddress");
Adding separators does not resolve the issue.
Code: Select all
tab("newb", "$ItemsAddress","Separator= <crlf>");