cyrus Posted December 16, 2019 Share Posted December 16, 2019 The one from packal doesn't work, but this one works. Thank you! Link to comment
greenamit Posted December 16, 2019 Share Posted December 16, 2019 4 hours ago, cyrus said: The one from packal doesn't work, but this one works. Thank you! That link doesn't work for me (for years now). Link to comment
gingerbeardman Posted January 20, 2020 Share Posted January 20, 2020 Thanks for this! Really great. Link to comment
dfay Posted August 12, 2021 Share Posted August 12, 2021 Given that the php here is basically a front-end for curl , could this be easily rewritten in a language that will ship with Monterey? Link to comment
deanishe Posted August 13, 2021 Share Posted August 13, 2021 14 hours ago, dfay said: could this be easily rewritten in a language that will ship with Monterey? In bash: curl -sfL -F v=3.6 -F "q=$1" http://units.dnsu.ch/units/server/alfred if [ $? -ne 0 ]; then echo '{"items": [{"title": "Units is unavailable", "subtitle": "sorry..", "icon": {"path": "Icons/error.png"}}]}' fi alibolcakan, codedeeply and dfay 3 Link to comment
dfay Posted August 16, 2021 Share Posted August 16, 2021 Thanks again @deanishe, that works great and my workflows are now php-free! Now I just need to go to work on Python 2.x.... Link to comment
kagi Posted October 22, 2021 Share Posted October 22, 2021 This is exactly what i was looking for. Thanks Link to comment
deepakcg Posted October 23, 2021 Share Posted October 23, 2021 (edited) is this Workflow compatible with Mac OS Monterey ? Edited October 23, 2021 by deepakcg Link to comment
an_tony Posted December 23, 2021 Share Posted December 23, 2021 On 8/13/2021 at 9:55 AM, deanishe said: In bash: curl -sfL -F v=3.6 -F "q=$1" http://units.dnsu.ch/units/server/alfred if [ $? -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! Best, Tony Link to comment
deanishe Posted December 24, 2021 Share Posted December 24, 2021 6 hours ago, an_tony said: 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. It's a bash replacement for the main Script Filter in the workflow. I wouldn't bother, though, tbh: You'll probably need to install PHP to fix other workflows, anyway. https://brew.sh/ Link to comment
wellerpond Posted September 12, 2022 Share Posted September 12, 2022 Hi! I've been trying to get this to work on my macOS Monterey Alfred 5, and get a "Units Fail" error message. Attached. Any thoughts? Link to comment
antisyphus Posted October 13, 2022 Share Posted October 13, 2022 Would there by any way to add a military time (24-hour clock) to standard time (12-hour clock) converter and vice versa? 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