Skip to content

Is it possible to pop up an exisiting note when creating a new note from a template? #1439

Answered by Zachatoo
francisHugo asked this question in Help
Discussion options

You must be logged in to vote

Here's one way to do that.

<%*
const note1 = tp.file.find_tfile("filename1");
app.workspace.getLeaf(true).openFile(note1);
-%>

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@francisHugo
Comment options

Answer selected by francisHugo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants