Welcome!
Thinking about how to automate a task is certainly valuable. If you were on macOS, I would point you to the automations made for the apps on that platform (see Using (and automating) Obsidian on macOS - Meta Post). I’ve heard Auto HotKey is a useful app for this on Windows, but I haven’t used it.