ftrava Posted May 14, 2016 Posted May 14, 2016 Hello guys, 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!
FroZen_X Posted May 15, 2016 Posted May 15, 2016 (edited) Just made a workflow that is doing exactly what you want. Here it is: https://www.dropbox.com/s/hzxpynhuubhi28b/Copy%20Textfile%20content%20to%20clipboard.alfredworkflow?dl=0 I set the search scope to find the files to the desktop atm. To change that doubleclick the Filefilter->Search Scope-> and there you can change the folder or add others Hope that helps Edited May 15, 2016 by FroZen_X
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now