send to clipboard with additional editing
Posted: 18 Apr 2018 17:38
i've spent several hours on a very easy task (for those who have big experience) but didn't succeded due to absolute lack of knowledge
so i ask for the help. example with 4 selected files:
it is necessary to add #113 (item bases to clipboard) to my script but without first 5 characters of each title
so the desired clipboard content should be:
i tried different approaches and bizarre combinations. in my consciousness everything is mixed up already so i only may mention various pieces of text from the help/net/forum that were tested in this or that way:
copytext "<curbase>"; copytext "<selitems <crlf>>", a;
copytext "<selitems <crlf>><curbase>";
copytext "<curbase><selitems <crlf>>";
#113 "<replace( , " - ", 1, 1, , )>";
Get('SelectedItemsNames');
folderreport("files:{fullname}<curbase>", "clipboard");
so i ask for the help. example with 4 selected files:
Code: Select all
05 - Complicated Heart.flac
06 - 25 Minutes.flac
07 - You Keep Me Running.flac
08 - Out Of The Blue.flac
so the desired clipboard content should be:
Code: Select all
Complicated Heart
25 Minutes
You Keep Me Running
Out Of The Blue
copytext "<curbase>"; copytext "<selitems <crlf>>", a;
copytext "<selitems <crlf>><curbase>";
copytext "<curbase><selitems <crlf>>";
#113 "<replace( , " - ", 1, 1, , )>";
Get('SelectedItemsNames');
folderreport("files:{fullname}<curbase>", "clipboard");