You can create a tiddler name in a filter, and then check if it has an actual title field.
\define nontidexist(tiddler) $tiddler$ does not EXIST! \end \define tidexist(tiddler) <$vars tiddler="""$tiddler$"""> <$list filter="[title[$tiddler$]] +[has[title]]" emptyMessage=<<nontidexist """$tiddler$""">>> $tiddler$ EXISTS. THEREFORE IT WIKIS. </$list> </$vars> \end You can put in the actions you want for existing tiddlers inside the list widget and the actions you want for creating new tiddlers inside the nontidexist macro. HTH -- Mark On Friday, August 10, 2018 at 10:00:42 AM UTC-7, 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/df116dbf-935f-4a5d-b42e-93b76344c033%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.