FYI you can also get the title in advance using the *unusedtitle* macro. 
The title it returns will be the same that is used by action-createtiddler 
if you give both the same basetitle.

<$vars newtitle=<<unusedtitle mybase>> >.....

or <$macrocall $name="unusedtitle" baseName="foo"/>



On Wednesday, July 1, 2020 at 4:36:55 PM UTC+2, 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/972bd9e1-0a4b-4416-9d59-3109be009dc8o%40googlegroups.com.

Reply via email to