Uhnnohn Posted August 18, 2019 Share Posted August 18, 2019 I am trying to automate some things from an external app (Bunch) Are there URL schemes available to call a select Alfred command from outside Alfred? e.g. alfred://run?command=NameOfCommand Link to comment
vitor Posted August 18, 2019 Share Posted August 18, 2019 Welcome @Uhnnohn, What you’re looking for are External Triggers. Uhnnohn 1 Link to comment
Uhnnohn Posted August 19, 2019 Author Share Posted August 19, 2019 19 hours ago, vitor said: Welcome @Uhnnohn, What you’re looking for are External Triggers. What is the URL scheme I would use to call that from applescript? I don't see it listed there Link to comment
vitor Posted August 19, 2019 Share Posted August 19, 2019 I should’ve been clearer — there’s no URL scheme you can use, the only way to do it is via AppleScript. Link to comment
Uhnnohn Posted August 19, 2019 Author Share Posted August 19, 2019 11 minutes ago, vitor said: I should’ve been clearer — there’s no URL scheme you can use, the only way to do it is via AppleScript. Thanks, is there a doc somewhere you know of that shows how to do that? Link to comment
vitor Posted August 19, 2019 Share Posted August 19, 2019 4 minutes ago, Uhnnohn said: Thanks, is there a doc somewhere you know of that shows how to do that? The one I linked previously. When you add an External Trigger, Alfred shows you the sample AppleScript code you need to invoke. How you call the AppleScript is up to you. If you were doing it in a Terminal, you’d do something like osascript -e 'CODE HERE'. Link to comment
Uhnnohn Posted August 19, 2019 Author Share Posted August 19, 2019 5 minutes ago, vitor said: The one I linked previously. When you add an External Trigger, Alfred shows you the sample AppleScript code you need to invoke. How you call the AppleScript is up to you. If you were doing it in a Terminal, you’d do something like osascript -e 'CODE HERE'. Thanks! 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