How to star an existing note with Obsidian URIs

Things I have tried

The following are the Obsidian URIs I’ve tried (using Obsidian Advanced URI):

  • obsidian://advanced-uri?vault=<vault_name>&commandname=Starred%3A%20Star%2Funstar%20current%20file&filepath=<file_path> - errors since the file already exists
  • obsidian://advanced-uri?vault=<vault_name>&commandname=Starred%3A%20Star%2Funstar%20current%20file&filepath=<file_path>&mode=overwrite - wipes the file
  • obsidian://advanced-uri?vault=<vault_name>&commandname=Starred%3A%20Star%2Funstar%20current%20file&filepath=<file_path>&mode=append - adds an empty line at the end of the file
  • obsidian://advanced-uri?vault=<vault_name>&commandname=Starred%3A%20Star%2Funstar%20current%20file&filepath=<file_path>&mode=prepend - adds an empty line at the beginning of the file

What I’m trying to do

Star/Unstar an existing note via Obsidian URIs, without editing the note at all

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