Aviesh
-
Posts
4 -
Joined
-
Last visited
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by Aviesh
-
-
Upvoted
1 hour ago, deanishe said:You can assign a variable per keyword using Args & Vars elements, but there's no way to get the actual keyword that was entered.
Yeah, That's what I ended up doing 🤷♂️
Thanks 👍
-
+1
Very useful to create conditional execution further on the workflow
I'm using applescript to rerun workflows while a keyboard modifier is set and I have multiple keywords activating the workflow so I need to detect them to run them again
see here for an example https://github.com/avielsh/alfred-catemoji-workflow
-
Hi,
I'm running a workflow that can be triggered by multiple keywords
Further down the workflow I have a script needs to get the triggering keyword in order to perform different actions based on the different keywords.
Is there a variable in alfred that holds the triggering keyword, or is there a way to assign it to a variable ?
Thanks
Alfred uses Python 3.7 instead of 3.8.2
in Discussion & Help
Posted · Edited by Aviesh
To reiterate, So what would be the currently best method of creating a portable workflow ?
Looks like /usr/bin/env python3 is not the way to go since default paths are not including /usr/bin/local which brew populates with python3 which appears to be the most common way to get python3 into OSX.
Furthermore, changing OXS's default $PATH looks like a bad idea both for portability and for OSXs apps predictability.
Executing the python script after setting PATH inside a wrapper shell script is the quickest workaround, am I right in my understanding ? ( Although it does not fully solve the issue since a user may need to change the PATH in case it's setup is not using brew )