This question comes as an offshoot from this question Can MacOS Dictionary be invoked by a URI?
I remembered that there are a number of URI schemes that can utilized in macOS, but I couldn't remember how to list them. For example, there is x-man-page:// that allows you to create a link to any particular man page and open it up in a Terminal Window with it's own profile: How to open the Apple URL protocol x-man-page:// in iTerm and not Terminal (default)
This existing question: How can I see what custom URI schemes are registered? relied on a now defunct tool called RCDefault App that would allow you to not only list all available URIs but associate them with any particular app (i.e. telnet:// with iTerm2)
So, in attempting to answer the question, I couldn't remeber the URI scheme and needed a way to find them. Is there a way to list all of the registerd URI schemes?
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -dump URLSchemeBinding– Wowfunhappy Jul 29 '20 at 01:49alias lsregister='/System/Library/Frame…/lsregisterin session profile e.g.,.zshrc. – marc-medley Oct 01 '23 at 23:42