Templater create, move and cursor position

Hi

I tried to improve my note creation but I still struggle at one point.

With templater, I quickly create a note based on a template with this code at the beginning :

<% await tp.file.move("0000.Inbox/Podcasts/" + (mytitle = await tp.system.prompt( 'Episode Name'))) %>

I have some metada in the template then I have :

<% tp.file.cursor() %>

Now, when I use templater to create a not from this template, everything work well but obsidian ask me twice to put the file name as you can see :

CleanShot 2024-05-31 at 16.37.27

If I enable “Show tab title bar” in obsidian’s options, I don’t have a popup but my cursor is focus on the title bar at first then on the page.

Is there a way to directly focus my input on the file as I already give a name for the file ?

Thanks

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