Jump to content

Copy txt to clipboard


Recommended Posts

Posted

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!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...