How to set a shortcut to copy the value of a specific key in YAML front matter?

Motivation

The native Obsidian URI is not constant regarding to any path change(s) or filename change(s).

I what to create a URI for my note that only depends on it’s UID in

UUID: {{date:YYYYMMDD}}{{time:HHmmss}}

format. (see screenshot below)

Screenshot 2022-01-03 at 20.06.12

My current practice

My current practice is

  1. copy manually the UID of a given note
  2. use keyboard maestro to past
    • obsidian://advanced-uri?vault=Second-Brain-sync&uid=
    • then UID

Problem

Is there a way to copy the value of a specific key in YAML with shortcut ?

In my case, the key is UUID and the value (in the screenshot) is 20220103133616

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.