Hi guys, newbie here.
I have trouble passing an argument (usually passed with {query}) to NSAppleScript and I have no idea what I'm doing wrong.
I'm trying to make a script that'll grep for me with "grep keyword" in the current finder window folder. However, I'm not able to pass the keyword to NSAppleScript, I'll illustrate on an example:
What I type in alfred: "grep test"
What I get in Terminal: "grep -inr {query} '/Users/[username_stripped]/Downloads/'"
I've tried playing around with it but nothing seems to work, {query} doesn't seem to be evaluated at all. Is this normal behav