I am trying to create a button in a tiddler which adds a new tag to that 
tiddler. I have found a way to replace all the existing tags with the one 
specified, but I am having trouble getting the add-tag feature to work.

This example replaces all the tags and works.

```
\define mark-complete()
<$action-setfield tags="my-tag"/>
\end

<$button actions=<<mark-complete>>>Mark Complete</$button>
```

This example tries to just add a tag, but does not work.

```
\define mark-complete()
<$action-sendmessage $message="tm-add-tag" $param="my-tag"/>
\end

<$button actions=<<mark-complete>>>Mark Complete</$button>
```

Can someone point out what I am doing wrong? I have not used macros or 
widgets very extensively yet.
Thank you.

-- 
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/458eb418-a890-4ad1-962b-004305128d4e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to