Hi, I want to write a custom command that creates a Things project from a note in Obsidian.
I could not find a way in Applescript/JXA to get the path to the current note in Obsidian.
So I set out to write it as a custom command in Obsidian (using this command as a starting point). But I have no experience with Electron and couldn’t find a way to open an external url scheme.
(In the Electron documentation I found shell.openExternal but shell is not available in the dev tools console.)
Does anyone know how to do it or can give me pointers what to google?