Perhaps someone better at Keyboard Maestro – @ryanjamurphy ? – can help with this:
As I just wrote, I’m very happy about “Show in Folder.” What I’d really like to use this for, however, is putting onto my clipboard a link to the current Obsidian note, so that when I navigate to another note or a create a new one, I can start by pasting a link to the note I will just have come from. I’m now trying to do that (on macOS) with a Keyboard Maestro macro to do the following, but I’m having trouble getting “Get File Attribute” to work. Here’s what I’m looking to do:
- From Obsidian, use the “Show in Folder” command (I use ⌘⌥-O as a hotkey), which opens up the Finder with currently focal Obsidian note selected in Finder.
- Get the filename from the selected file (ideally only the “base name” of the file, without the .md extension)
- Add Wiki-brackets to the result
[[base filename]] in the clipboard (could also be done later, during the pasting)
- At that point, I can navigate to another note in Obsidian, and paste the link, as a bidirectional backlink.
Any thoughts on how to get this to work? Perhaps a feature request for a plugin?