Hi,
Thanks for the reply. I read your [HOW TO] Workflow/environment variables, but am still unsure of how to pass workflow variables to the {query} or argv input of a Run Script action. I know I can access them directly within the script with {var:varname}, but I want to use the same Run Script action with both my Keyword input and my hardcoded input value.
Also, substituting Run Script for Run NSAppleScript doesn't seem to work with my Keyword input either. I removed the "on alfred_script(q)", wrapped the script with "on run" and "end run", and replaced instances of "q" with argv / {query}. I noticed that Run NSAppleScript runs in Alfred's main thread and Run Script doesn't. Not sure if I'm getting the syntax wrong or if this script (moving files around) requires Alfred's main thread.
Thanks again for the help!