donald_d
-
Posts
3 -
Joined
-
Last visited
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by donald_d
-
-
hello Alfred team,
Greetings!
I was able to use dynamic placeholder e.g. current date and time according to this guidance https://www.alfredapp.com/help/workflows/advanced/placeholders/#arithmetic
But it broke since Apple removed PHP and Python 2 from the built-in scripting languages in macOS Monterey, plus I could't reinstall python 2 via Homebrew tons of time so Vero kindly gave me an updated snippet triggers v1.1 using '/bin/zsh' to replace the invalid '/usr/bin/php'
My question is how can I modify the complicated script under language "bin/zsh" to make it auto paste e.g. current time to my clipboard?
Cuz previously when php was still working on Big Sur I can simply put a {time:short} to make it happened.
Details plz refer to the attachments, would be appreciated if you can give me any idea cuz I'm not a tech-geek it's hard to understand the coding thing I just want to make it possible to have current time/date using {time} & {date} as before.
Appreciated in advance : )
-
Hello Vitor,
To my understanding there're two steps for us to complete in order to install python 2 back to my OS Monterey system to make the workflow works as it was (current the only issue i got was the dynamic placeholder of current time&date unable to use when i upgrade to the Monterey)
But i got a stuck while install Homebrew on Terminal as step 1, so i can't go ahead for the step 2. Details refer my screenshots, may i know if any way out for this?
Appreciate your kind reply : )
[Snippet Trigger] Question to configure scripts using language /bin/zsh
in Workflow Help & Questions
Posted
thanks Vitor : )
as for “Python 2 isn’t relevant to that script. Just reinstalling PHP is enough.”
@vitor
May I know the steps /links to reinstall PHP? I've only got the link to reinstalled Python 2 but it's not related to my case