I need a script that takes filenames of selected files (including extension), copies those filenames (not files themselves) to clipboard and adds a preset (aka hardcoded) bit of text to the beginning of every filename in clipboard. Example, I have files called file1.txt, file2.txt and file3.txt selected in a folder. Upon applying this script, assuming hardcoded preset is "temp-", the clipboard will have the following:
Code: Select all
temp-file1.txt
temp-file2.txt
temp-file3.txt