Hello everyone,
I'm new to Alfred and I love it!
I have a small php script that is in my home folder `~/dev/tag-buddy` and I want to call it from an Alfred workflow.
Simple Script Filter configuration that works fine
I've setup a script filter in bash language with this instruction `/usr/local/bin/php ~/dev/tag-buddy/src/search-tags.php "{query}"` and it works fine.
Below you can see the configuration
Trying to use a variable to handle the path to php script
If I setup a worfklow variable to handle the php script path, like this:
and then I modify the Script Filter Object like this:
I get this error:
So the variable substition has worked fine, since Alfred tries to open the file with the right path, but it doesn't work.
However, if in the workflow variable I write the complete path, replacing the ~ with my actual home directory path, the workflow is fine.
So it doesn't like when using the ~ in a workflow variable.
Am I doing something wrong?
Thanks,
Francesco