AFAIK, you can only get the title after it's been made. Which makes sense.

Why do you need it in advance?

Different ideas

* Make an routine that creates the new tiddler,  displays the name, and 
deletes the tiddler -- now you know what the tiddler would do
* Make a routine that adds or increments a number. Harder to do, because we 
don't really have good regexp splitting tools. Ah-hem.
* Use a routine that generates a guaranteed-to-be-unique name (e.g. 
datestamp) and use that for the basetitle.




On Wednesday, July 1, 2020 at 7:36:55 AM UTC-7, Mat wrote:
>
> <$action-createtiddler $basetitle="New Tiddler" ... />
>
> gives, for example, "New Tiddler *2*" if there is already a "New Tiddler 
> 1" and(!) "New Tiddler 3".
>
> I.e it takes the lowest available number.
>
> How can I tell what this new title or number is before it is created?
>
> It "feels" like there should be some ready made mechanism, kind of like 
> the qualify macro that takes a title and spits out a hypothetical next 
> title. Presumably there *is *such a mechanism inside the 
> action-createtiddler widget.
>
> Thanks!
>
> <:-)
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/36486514-71f5-4d63-bfe1-dd8200edba13o%40googlegroups.com.

Reply via email to