Script to select files listed on clipboard
Posted: 11 Mar 2010 21:48
Here's a simple script I just came up with to select the files whose names are listed on the clipboard:
This works if you have clipboard contents like:
One easy way to set the clipboard like that is by using right-click->Clipboard->Item Names. In the situation that finally got me to write this script, I was dealing with the output from another program. I love being able to do this kind of stuff in XYplorer!
Code: Select all
selfilter(replace("<clipboard>", chr(13).chr(10), "|"))Code: Select all
file1.txt
file2.txt
file3.txt