Opening Obsidian URL Scheme from outside Obsidian?

Hi All - I read through the existing URL Scheme topic and am still a bit confused as to whether I can open a note in Obsidian directly from outside Obsidian and if so, how to do this.

My goal is to have the URL scheme included in a Keyboard Maestro Macro so that whether or not Obsidian is open, the macro triggers Obsidian to open a specific note.

I’ve tried: Open the open URL action and open file action in Keyboard Maestro but can’t seem to get it to work.

When I try to open the URL with the action I get an action failed message in KM with "open URL failed with invalid URL:

When I try to open the URL as a file I get an action failed message about a non-existent path

This is what the URL scheme looks like when I copy and pate it:

obsidian://open?vault=Music%20Ed%20-%20Obsidian%20Vault&file=0.01-Class%20Qual%20Research%20MOC

Any suggestions of how I can open the URL scheme as part of a Keyboard Maestro macro?

Thank you!

  1. Where did you get that URL? From the obsidian menu?
  2. Have you tried pasting it in the web browser and opening it from there?

Sorry about the delayed response

I got the URL from the 3 dots in the same pane as the title of the note for “more options” and then selecting “copy Obsidian URL”

If I paste it in the web browser manually as you suggest and click enter, the browser asks if I want to open the page in Obsidian, which seems to work when I click enter - but when I put Open URL as an option in Keyboard Maestro I get an error message and when I put open a new tab in Safari with the URL pasted, it doesn’t open the URL unless I click enter manually.

The fact that web browsers have no trouble opening the URL seems to prove there’s nothing wrong with it. It must be something with the KM action, but I can’t help with that because I don’t use it. Sorry.

Maybe try looking at the KM docs and see if there’s some setting you’ve missed.