Hi,

I'm trying to create a toolbar widget (?) that wraps the selected text as 
follows:

<<macroName 'tag' 'this is the selected text' '01Apr114421'>>

So far, I can get this:

<macroName 'tag' 'this is the selected text01Apr114421

Here is my code:

<$set name="timestamp" value=<<now '0DDmmm0hh0mm0ss'>> >
<$set name="end1" value="' 'hyper' '">
<$set name="prefix" value="<<macroName 'tag' '">
<$set name="suffix" value=<<timestamp>> >
<$action-sendmessage
    $message="tm-edit-text-operation"
    $param="wrap-selection"
    prefix=<<prefix>>
    suffix=<<suffix>>
/>

-- 
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/1c61084b-eb17-4506-9129-1c847fc3e457%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to