Hi Tobias,
Sounds great!  Thanks! :)

On Saturday, 31 January 2015 19:05:15 UTC+8, Tobias Beer wrote:
>
> Hi James,
>  
>
>> Would it be possible to have running number assigned to a field every 
>> time a new tiddler created?
>>
>
> It may be better / easier to instead assign a timestamp.
> That way you're a little more on the safe end in terms of uniqueness.
>
> To figure out how to set one at a desired field,
> take a look at how the variable *journalTitleTemplate* is used with the 
> *Now*Macro <http://tiddlywiki.com/#NowMacro> at:
>
> $:/core/ui/Buttons/new-journal-here 
> <http://tb5.tiddlyspot.com/#%24%3A%2Fcore%2Fui%2FButtons%2Fnew-journal-here>
>
> However, you could as well use the core *created* date, instead.
>
> May be I would to have the last assigned number stored somewhere in the 
>> temp.
>>
>
> You could retrieve and then calculate and set a basic number for your 
> counter
> and the newly created tiddler using the calc macro (or sum 
> <http://mathmacros.tiddlyspot.com>)...
>
> calc @ tb5 <http://tb5.tiddlyspot.com/#calc>
>
> ...and the appropriate ActionWidgets 
> <http://tiddlywiki.com/#ActionWidgets> in a ButtonWidget 
> <http://tiddlywiki.com/#ButtonWidget>.
>
> This may also be interesting...
>
> Custom New Journal Button @ tb5 
> <http://tb5.tiddlyspot.com/#Custom%20New%20Journal%20Button>
>
> Let us know if you need more pointers.
>
> Best wishes, Tobias.
>

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to