jjaybe Posted August 5, 2023 Share Posted August 5, 2023 Hi, is it possible to use workflow environment variables for the workflow configuration itself? For example, I would like to set the default value for the directory containing the workflow scripts to `{const:alfred_preferences}/workflows/{const:alfred_workflow_uid}`, i.e. the parent folder of the current workflow as documented here. However, when using either a Text Field or a File Picker, the environment variables do not expand as they do within the workflow components. Thanks! Link to comment
zeitlings Posted August 13, 2023 Share Posted August 13, 2023 Entering "./" as the default path should bring you to {const:alfred_preferences}/workflows/{const:alfred_workflow_uid}. (Or "./scripts" if you have them in a folder "scripts" etc.) 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