Jump to content

Apple script - Unable to get environment var?

Recommended Posts

I have workflow environments set like this:



I'm trying to retrieve the variable from "Run NSAppleScript" script like this:



And variable test is always empty?! What am I doing wrong?


I set variable through the apple script like this:



Btw... log doesn't output anything in the console form me? That's why I use "say" to debug 😔


I have Alfred v3.8.6

OsX Catalina 10.15.3


I have read all docs I could find including https://www.deanishe.net/post/2018/10/workflow/environment-variables-in-alfred/



Edited by chavlji
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...