Jump to content

How to call Alfred script filter externally with an argument?

Recommended Posts

Hey all and happy new year ?


I've read through this but it doesn't really specify how I can actually do what I want to do.


What I want is to be able to call an Alfred script filter from applescript similar to how I can call Keyboard Maestro macros with this : 



  osascript -e 
    tell application "Keyboard Maestro Engine"
    do script ... -- where the name of the script goes
    end tell




Edited by nikivi
Link to comment
1 hour ago, nikivi said:

I am curious though, when Workflow author updates his workflow, would my external triggers will need to be changed?


If you’re creating them in workflows that aren’t yours, they will be overwritten (erased) by new versions if the author doesn’t have them, yes.


Another way to accomplish what you want would the something like:

tell application "Alfred 3" to search {{keyword_here}}

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...