Jump to content

WillsonSmith

Member
  • Posts

    4
  • Joined

  • Last visited

Posts posted by WillsonSmith

  1. 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

  2. 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. 

×
×
  • Create New...