Problem: 

I.  I want a button to create a tiddler put some text inside it and 
navigate to it in view mode NOT edit mode
II. If the tiddler is exist, I want to navigate to tiddler and not create 
it again or create a new one with a numerical counter at the end (don't 
want to do what action create tiddler does)


So, I did like below:

\define _title() $(currentTiddler)$-thumbnails
\define _text() <<thumbnails $(currentTiddler)$>>

<$button set=<<_title>> setTo=<<_text>> >Thumbnails
<$action-navigate $to=<<_title>> />
</$button>



This button create a tiddler with the title of current tiddler with 
-thumbnails suffix and put this text <<thumbnails tidname>> and then 
navigate to it!

Is this legal or illegal?

Actually I used ilegally from set/setTo parameters in button widget to 
create a new tiddler and if it exists use and navigate to it!



*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/12d04ab8-86d3-474b-8015-3f34b6bbd697%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to