grahamdb Posted May 25, 2019 Share Posted May 25, 2019 Alfred is great for opening URLs, and it does fine with custom schemes, except for DEVONthink's. When I try to open a URL which begins "x-devonthink-item://" Alfred doesn't recognize that it is a URL, and does a google search for the URL instead of just opening it. I know that the x-devonthink-item scheme is registered in Launch Services, and it works everywhere else in my system (Terminal, rtf hyperlinks, etc) so I think the problem is with Alfred. Link to comment Share on other sites More sharing options...
grahamdb Posted May 25, 2019 Author Share Posted May 25, 2019 Some brief testing suggests that Alfred doesn't care about what's in Launch Services but doesn't recognize schemes with hyphens in them. If I type asdf:// Alfred treats it like a URL to open but if I type as-df:// it treats it like an arbitrary query Link to comment Share on other sites More sharing options...
vitor Posted May 26, 2019 Share Posted May 26, 2019 Welcome @grahamdb, So presumably it won’t work with any x-callback-url. In the meantime, this is easy to fix with a Workflow. Connect a Keyword Input with Keyword x- to a Run Script Action with Language /bin/bash/ and Script open "x-${1}", and it should work. Here’s a ready-made Workflow. Link to comment Share on other sites More sharing options...
Andrew Posted June 6, 2019 Share Posted June 6, 2019 @grahamdb I'll have this fixed in the next Alfred build. Alfred was incorrectly only recognising alphanumerics instead of all valid chars from the RFC2396: scheme = alpha *( alpha | digit | "+" | "-" | "." ) Cheers, Andrew Link to comment Share on other sites More sharing options...
Andrew Posted June 7, 2019 Share Posted June 7, 2019 @grahamdb could you update to the 4.0.2 pre-release and let me know how you get on Link to comment Share on other sites More sharing options...
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