Jump to content

[SOLVED] List filter and "Run Script" action.

Recommended Posts

I am looking for the following:


Use one List filter so that after hitting a keyword, selecting a list item, hitting "Enter", Alfred would take the "Arg" value of the list item and run it in a Run script given the value "Arg" is always a one-liner like this one: "screencapture -x -R 455,60,530,416 ~/Downloads/Hotkey_Screenshots.png".


Here is the Dropbox link to the workflow.  


Thank you. 

Link to post

Yeah, that probably won’t work that way. You can’t easily pass a multi-argument command as arg there because “with input as argv” implicitly passes it as a single argument.

Try “with input as {query}” and use just {query} for the Script. Turn off all Escaping options.

Link to post
  • politicus changed the title to [SOLVED] List filter and "Run Script" action.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...