chrisgrieser / shimmering-obsidian

Alfred Workflow with dozens of features for controlling your Obsidian vault.
https://alfred.app/workflows/chrisgrieser/shimmering-obsidian/
MIT License
817 stars 40 forks source link

Feature Request: Add "New Unique Note" keyword #172

Closed jwmann closed 4 months ago

jwmann commented 4 months ago

Feature Requested

Obsidian has a core plugin called "Unique Note Creator" which has built-in commands to create a new unique note.

Since we already have on for regular notes, it would super useful if I we could create a unique note similarly through Alfred. Perhaps the keyword could be: onu

Thoughts?

Relevant Screenshot

No response

Checklist

chrisgrieser commented 4 months ago

Hi, I am trying to avoid adding features that require specific plugins, since they are likely to only benefit a few users who actually use those plugins.

However, what you request is actually pretty easy to create yourself in Alfred without having to write any code at all – you can use the Advanced URI plugin to create a URI to run any command. (Advanced URI: Copy URI for command<Don't specify a file> → Select the command you want to run.) Then you create a new workflow and have a keyword that opens that workflow.

Here I have created a simple example for triggering the Unique Note Creator via onu: Alfred workflow to run a Command in Obsidian.zip

Hope that helps!

jwmann commented 4 months ago

Hi, I am trying to avoid adding features that require specific plugins, since they are likely to only benefit a few users who actually use those plugins.

However, what you request is actually pretty easy to create yourself in Alfred without having to write any code at all – you can use the Advanced URI plugin to create a URI to run any command. (Advanced URI: Copy URI for command<Don't specify a file> → Select the command you want to run.) Then you create a new workflow and have a keyword that opens that workflow.

Here I have created a simple example for triggering the Unique Note Creator via onu: Alfred workflow to run a Command in Obsidian.zip

Hope that helps!

This demo workflow is perfect, thanks for the tips! 👍