Jump to content

Chochek

Member
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Chochek

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

×
×
  • Create New...