Jump to content
Uhnnohn

[SOLVED] URL Scheme For Commands?

Recommended Posts

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

Share this post


Link to post

I should’ve been clearer — there’s no URL scheme you can use, the only way to do it is via AppleScript.

Share this post


Link to post
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?

Share this post


Link to post
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'.

Share this post


Link to post
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!

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...