chavlji Posted April 18, 2020 Share Posted April 18, 2020 (edited) 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/ Thanks! Edited April 18, 2020 by chavlji Link to comment
deanishe Posted April 18, 2020 Share Posted April 18, 2020 Workflow variables aren't set in Run NSAppleScript because it's run internally to Alfred, not as a separate process. Use a Run Script instead. Link to comment
chavlji Posted April 19, 2020 Author Share Posted April 19, 2020 It worked thank you! Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now