curl -sfL -F v=3.6-F "q=$1" http://units.dnsu.ch/units/server/alfredif[ $?-ne 0]; then
echo '{"items": [{"title": "Units is unavailable", "subtitle": "sorry..", "icon": {"path": "Icons/error.png"}}]}'
fi
First of: I have no background in programming or scripting, so lots of the posts that I have been reading concerning Alfred+Monterey (and php) are hard to understand.
Many of the workflows I use stopped working since upgrading to Apple Silicon and Monterey, this units workflow being one of them.
Seeing that there is a solution to make this workflow run again makes me jolly but I don't understand where or how to save this script in order for the workflow to run.
Any help, gladly also via PM, would be very much appreciated!
Workflow: Units - convert currency length temperature weight and more
in Share your Workflows
Posted
First of: I have no background in programming or scripting, so lots of the posts that I have been reading concerning Alfred+Monterey (and php) are hard to understand.
Many of the workflows I use stopped working since upgrading to Apple Silicon and Monterey, this units workflow being one of them.
Seeing that there is a solution to make this workflow run again makes me jolly but I don't understand where or how to save this script in order for the workflow to run.
Any help, gladly also via PM, would be very much appreciated!
Best,
Tony