Automator: using a text file to define multiple finder items?
Hello,
what i would like to do:
i have a text file, that contains several entries for files and folders, each on a seperate line. I want to dragndrop this file onto an automator action, it should ask me for a destination folder and then copy all files&folders to that destination folder.
I have my automator action set up like this:
Open Finder Items
Get Contents of TextEdit Document
Copy to Clipboard (i didn't find any other way to somehow keep the values of my textfile and let it not be overwritten by the following actions, but this works)
Quit Application (TextEdit)
Ask for Finder Items (this asks for a destination folder)
Set Value of Variable (Destination)
Get Contents of Clipboard
Copy Finder Items (to Destination)
This all works, but only when there is 1 entry in my text file. As soon as i have 2 lines of text i get the following error message:
The action "Copy Finder Items" was not supplied with the required data.
How can i make this work with multiple entries?
MacBook Pro, OS X El Capitan (10.11.2)