Mohammad, I am not sure if this adds to the conversation but *a tiddler existence test can be written in a filter as follows*
[[other]has:field[text]] where the tiddler is called other and has content in the text field or any other field you know has a value [[other]has:field[fieldname]] Interestingly fields other than text return with or without content as long as they exist, not the text field. *Variations* [[other]value[]] with be true if the value field exists on "other" AND is empty, you could put a value [[other]value[testvalue]] [[other]text[]] with be true if the value field exists on "other" AND is empty (if you expect the text to be empty this is a good existence test Also The quickest way to create a tiddler is to edit it, but it is manual <$edit-text class='tc-edit-texteditor' tiddler=other field='value'/> <$edit-text class='tc-edit-texteditor' tiddler=other field='text'/> Or this \define note-tiddler() $(currentTiddler)$/notes <$edit-text class='tc-edit-texteditor' tiddler=<<note-tiddler>> field='text'/> Anyway, I am taking these ideas and experimenting further. Including a ways to deal with tiddler renames. Not withstanding the value of the comments plugin in 5.1.18 Regards Tony On Saturday, 11 August 2018 03:00:42 UTC+10, Mohammad wrote: > > This is may be repetitive question! > > I need a macro to conditionally does the following tasks > If tiddler-A exist > navigate to it > else > create tiddler-A > put some text inside it and tag it with myTag > navigate to it > end if > > I thought it may be possible using some list widgets > > *Mohammad* > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/531bd604-91b9-4716-90b3-3a3263817dae%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.