WillsonSmith
-
Posts
4 -
Joined
-
Last visited
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by WillsonSmith
-
-
There has to be something missing in the workflow or script then. I know you say it works at the terminal but, if your script is producing output, the Copy to Clipboard item should work.
I've made a short video covering the issue:
As you can see they each do the following:
1. Runs the script and tries to send it to copy to clipboard - fails doesn't copy anything (leaves old clipboard)
2. Runs in Terminal and tries to send it to copy to clipboard - fails doesn't copy anything (leaves old clipboard)
3. runs script with pbcopy - copies blank
4. runs in terminal with pbcopy - copies the output properly
-
Copy to Clipboard doesn't work either. I was using pbcopy because it was one less step, and was integrated into what I was already doing.
-
Hi there, I'm trying to make a workflow that does the following:
1. type in keyword
2. have alfred "Run Script" which looks like the following: "node ~/documents/scripts/javascript/haiku.js | pbcopy"
3. Have the output from the node process copy to the clipboard as it should.
This does not work, and I get an empty clipboard.
However if I do the same thing, but instead of "Run Script" I do "Terminal Command", it works just fine and I get the output from the node process copied to my clipboard.
Is this a limitation of the "run script" option?
Thanks.
Piping info to pbcopy works in terminal, not in "run script"
in Workflow Help & Questions
Posted
Awesome! Thanks! I didn't even think about that, but now I know. Sweet deal.