Replies: 1 comment 2 replies
-
I just very recently tested the use of Meta Bind Buttons with Templater and there are ways to get there, @cacharbe 😊 ... If you use a Meta Bind Button of So, instead of trying to use your user script directly in the button Another way would be to instead of using a button of type For this to work, you'd need to add a hotkey to the template you wish to use in the button in Templater's settings (you actually don't need to effectively add a hotkey to the template, just say in Templater's setting that "yes, the template could be triggered through a hotkey") which makes the template available as a The thing with this method though 😅, is that you'd need to adapt the "triggered" template so the new note would be created through the template (using tp.file.create_new() for example) instead of the button 😊. Depending on your needs/workflow one or the other could potentially work for your use case 😇 . |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Per the suggestion on his "Buttons" page, I've followed the advice of @shabegom and am trying to start using meta bind.
I currently use the buttons plug in to create a file based on a file template and dynamically generate the filename on button click using templater (<% tp.user.GetSomeDataCalculatedByInfoInVault(tp) %> ) in the button code.
Is this pattern even possible using Meta Bind Button? If someone can point me in the right direction or if you have an example, I'd be greatly appreciative.
Beta Was this translation helpful? Give feedback.
All reactions