my question is really simple: I have a folder containing 5 .txt files named 1,2,3,4,5. I need to create a workflow that gets the content of the file specified in the input and copy it to my clipboard (and possibly paste it to the front app).
ex: "copy 1" and it copies the content of 1.txt to my clipboard
I've been trying for hours but I didnt manage to make anything work. I can do that from the terminal but if I use the same code in alfred it doesn't work. I don't get what I am doing wrong.
Thanks in advance!