Chochek
-
Posts
2 -
Joined
-
Last visited
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by Chochek
-
-
I can't get this to work. I have a "Run Script" action ("usr/bin/osascript (JS)") that parses the input and returns a JSON like you mentioned @deanishe
return { "alfredworkflow": { "arg": `${libPath} ${projectPath}`, "variables": { "library": libPath, "project": projectPath } } }
But the next "Run Script" action gets thisĀ string as theĀ "argv"
alfredworkflow:arg:LIB_AND_PROJECT_PATH_VALUES, variables:library:LIB_PATH_VALUE, project:PROJECT_PATH_VALUE
Am I missing something?
Handling workflow/environment variables
in Workflow Help & Questions
Posted
:facepalm:
Thanks, JSON.stringify() did the trick!