Miko Posted August 16, 2018 Author Share Posted August 16, 2018 (edited) On 8/14/2018 at 2:50 PM, gamell said: First of all, thanks to @Miko and co. for this amazing workflow. Just wanted lo let you all know that I made a small change to it to allow users to set defaults via environment variables for List, Label, Due date and Position. So, for example, if you want to always create your cards in the same list as I do, you can set it once and forget it. If you pass any list via the query, that will override the default as expected. You can find this version here. And I also opened a Pull Request to get this functionality in the original workflow by @Miko , which also has some instructions as to how to set the defaults. Thanks!! Thank you @gamell I merged your pull request. Added you to the credit, your instructions and increased the version number across everything. Really liking those default variables Cheers Edited August 16, 2018 by Miko Link to comment
gamell Posted August 16, 2018 Share Posted August 16, 2018 No, thank you for putting all this together and the super quick turnaround time Cheers! Link to comment
az566 Posted April 12, 2020 Share Posted April 12, 2020 Love this workflow, thanks! I use custom labels that have text in them. When I choose the colour it simply adds a new label without the text. Is there a way to add custom labels? Link to comment
Pete Bastille Posted November 3, 2021 Share Posted November 3, 2021 Hello everyone, This workflow stopped working on my end after I upgraded to Monterey. Anyone in the same situation ? I guessed it is linked to the fact that PHP is not handled natively by Monterey and I can't find a solution (I have limited technical knowledge). Has anyone found a solution ? Thanks again to the creator of this worklfow, it's been crucial for me to use the GTD method with Trello ! Pete Link to comment
vitor Posted November 3, 2021 Share Posted November 3, 2021 7 hours ago, Pete Bastille said: I guessed it is linked to the fact that PHP is not handled natively by Monterey Yep. 7 hours ago, Pete Bastille said: Has anyone found a solution ? This should work:Install Homebrew.Install PHP (brew install php).Add to the top of the Run Script: export PATH="/opt/homebrew/bin:/usr/local/bin:${PATH}". Link to comment
Pete Bastille Posted November 8, 2021 Share Posted November 8, 2021 Thank you @Vitor for your input. Unfortunately even after doing the procedure described, it's not working on my end. I still get the same error : I will use the Trello global command to quickly add inputs as a workaround for the time being. Cheers Pete Link to comment
vitor Posted November 8, 2021 Share Posted November 8, 2021 6 hours ago, Pete Bastille said: Unfortunately even after doing the procedure described, it's not working on my end. I still get the same error If the process was correctly followed, you should not be getting that error. What’s the output of these two commands, in a terminal? echo "${PATH}" which php Also, if you export your modified Workflow I can take a look. Link to comment
Pete Bastille Posted November 16, 2021 Share Posted November 16, 2021 @Vitor, I found the issue. I had an issue with the PHP setup through Brew. I double checked the the logs from the PHP install with Brew and there was an error. I found people with similar issues on Stack Overflow and running the following two commands allowed me to install PHP properly : sudo mkdir -p /usr/local/Frameworks /usr/local/sbin sudo chown -R $(whoami) /usr/local/Frameworks /usr/local/sbin Now everything works ! Thanks a lot for taking the time to help me Pete Link to comment
Rad Posted November 22, 2021 Share Posted November 22, 2021 @vitor @Pete BastilleThanks for this. What do you mean by "Add to the top of the Run Script: export PATH="/opt/homebrew/bin:/usr/local/bin:${PATH}" ? Could you clarify it? I've finished this part "Install PHP (brew install php)." Thanks! Link to comment
vitor Posted November 22, 2021 Share Posted November 22, 2021 @Rad Double-click the Run Script (in the middle): And on the Script box, make a new line at the top with export PATH="/opt/homebrew/bin:/usr/local/bin:${PATH}". Rad 1 Link to comment
yeroc Posted December 23, 2021 Share Posted December 23, 2021 @vitor Thank you so much for this tip! I was having the same issue, and your solution works perfectly. Rad 1 Link to comment
Miko Posted August 11, 2022 Author Share Posted August 11, 2022 (edited) Super late reply, but this is no longer an issue with Alfred and the workflow Alfred will automatically search for PHP install in the following directories. /opt/homebrew/bin/php /usr/local/bin/php Alternatively, you can still define your path in the script as suggested. export PATH="/opt/homebrew/bin:/usr/local/bin:${PATH}" Tested with macOS Monterey 12.5 on Apple Silicon, PHP and PHP@7.4 installed with Brew Edit: Tested using Alfred 5.0.1 Edited August 11, 2022 by Miko Rad 1 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