You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just started using Templater and boy does it unleash havoc with opener.
What I'm seeing is that a simple Templater script that used something like
var title = await tp.system.prompt ("Please enter meeting title")
would seem to run fine, but IF opener is enabled, after all my prompts finished, a dialog appears that then asks me for a note title: and then applies some of the template elements to a different file (I think another one that was recently opened).
I suspect what's happening is that if I use tp.file.move from templater, opener is opening another file (or this one) and the handles are getting mixed up, such that somewhere a reference that is supposed to refer to the new template instance is somehow referring to the wrong file.
Has anyone else tried to use 'opener' together with 'templater'? If nothing else it might be helpful to revisit the statement "this should be compatible with all existing plugins out of the box".
Thank you!
The text was updated successfully, but these errors were encountered:
I just started using Templater and boy does it unleash havoc with opener.
What I'm seeing is that a simple Templater script that used something like
var title = await tp.system.prompt ("Please enter meeting title")
would seem to run fine, but IF opener is enabled, after all my prompts finished, a dialog appears that then asks me for a note title: and then applies some of the template elements to a different file (I think another one that was recently opened).
I suspect what's happening is that if I use
tp.file.move
from templater, opener is opening another file (or this one) and the handles are getting mixed up, such that somewhere a reference that is supposed to refer to the new template instance is somehow referring to the wrong file.Has anyone else tried to use 'opener' together with 'templater'? If nothing else it might be helpful to revisit the statement "this should be compatible with all existing plugins out of the box".
Thank you!
The text was updated successfully, but these errors were encountered: