Jump to content

Script Filter variables not passed down


Recommended Posts

Hello all,

 

I know this is an already talked about subject, but despite having read all docs and deanishe's post, I can't get to figure this one out.

 

I'm creating a loop through a recurrent Script filter, using PHP

In the JSON I output, I use variables, but for some reason they don't seem to get passed down the workflow.

 

Here is the JSON I output:

{  
   "variables":{  
      "afp_server_path":"afp:\/\/10.0.0.200\/Design%20System\/Assets\/Videos\/Venues\/DJI_0001_.mov",
      "videoasset_gif_path":"\/Users\/me\/Desktop\/test\/DJI_0001.gif"
   }
}

How to I access "videoasset_gif_path" in a script along the line?

For example, on an AppleScript, I then use:

set videoasset_gif_path to POSIX file (system attribute "videoasset_gif_path")

but videoasset_gif_path does not exist?

 

Thanks for your help!

 

 

Alfred 3.7
MacOs 10.13

 

Workflow file:
http://qo.qa/2018/11/Multimedia.alfredworkflow

 

 

Screen Shot 2018-11-07 at 18.17.10.png

Edited by rwt
missing crucial info, my bad sorry
Link to comment
On 11/7/2018 at 5:26 PM, deanishe said:

 

On 11/7/2018 at 5:19 PM, rwt said:

What can't we upload .alfredworkflow on this forum? makes no sense

 

Could be Invision Power Board's slogan, tb

 

Megalolz.

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...