quickadd icon indicating copy to clipboard operation
quickadd copied to clipboard

Add URI to run QuickAdd externally

Open Ovyerus opened this issue 1 year ago • 6 comments

Adds support for running a QuickAdd choice from an external script or application, through the use of an obsidian://quickadd URI.

The choice to run is given by the choice parameter, and then any variables that are needed by it can be given through additional parameters prefixed with value- (does not work for unnamed variables, those will still prompt the user for input within Obsidian).

Example

obsidian://quickadd?vault=My%20Vault&choice=Daily%20log&value-contents=Lorem%20ipsum.

This runs the choice Daily log and provides "Lorem ipsum." as the contents variables.


Resolves #256, resolves #369, and resolves #648.

Ovyerus avatar Aug 05 '24 10:08 Ovyerus

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
quickadd ✅ Ready (Inspect) Visit Preview Feb 20, 2025 7:21am

vercel[bot] avatar Aug 05 '24 10:08 vercel[bot]

I have tried tested, and looks good 👍 Thank you

chaintng avatar Sep 14 '24 09:09 chaintng

Thanks @Ovyerus can't wait to see this merged and ready to use! 😍

ther0y avatar Sep 19 '24 04:09 ther0y

@chaintng Is there any chance this could get merged? I'd love to use this. 😄

LandonSchropp avatar Oct 05 '24 16:10 LandonSchropp

@LandonSchropp Unfortunately, I'm not the maintainer 😅

for now, if u sync to laptop. u can use vscode to edit these file manually

until maintainer merged this MR and release new version

chaintng avatar Oct 06 '24 12:10 chaintng

@chaintng Ah, gotcha. My bad. Thanks!

LandonSchropp avatar Oct 06 '24 20:10 LandonSchropp

@chhoumann Any chance of getting this merged soon?

Ovyerus avatar Feb 09 '25 23:02 Ovyerus

This looks great. Thank you for taking the time to contribute, @Ovyerus! I really appreciate it, and it seems a lot of other people do as well :)

chhoumann avatar Mar 05 '25 07:03 chhoumann

:tada: This PR is included in version 1.13.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

github-actions[bot] avatar Mar 05 '25 07:03 github-actions[bot]

🚀 Release has been published: v1.13.0

github-actions[bot] avatar Mar 05 '25 07:03 github-actions[bot]