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.

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