politicus Posted October 16, 2020 Share Posted October 16, 2020 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 comment
deanishe Posted October 16, 2020 Share Posted October 16, 2020 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. politicus 1 Link to comment
politicus Posted October 19, 2020 Author Share Posted October 19, 2020 And one more time... it worked. Thank you! Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now