Hi Stacy, Would something along these lines work for me? I created a simple macro that uses the Link Widget to create a new tiddler but I would like the created tiddler to have several tags. I wanted to use action-setfield but don't know how to trigger it without using a button (which I don't want to do).
It seems like your solution would work for me but I am not a programmer (at all) and really don't know what I am doing! Thanks! Andrew On Sunday, April 3, 2016 at 8:34:18 PM UTC-6, Stacy Cunningham wrote: > > I wanted to post because I wanted something non-button with the Action > Widgets and I ended up solving it. So then it'd be helpful to someone else > (or me again, in needing to look this up again in the future!). > > I wanted to be able to use action-setfield with the Link widget. I added > this.invokeActions(event); > > to be the first line of handleClickEvent in > $:/core/modules/widgets/link.js and it works like a charm. > > > All the best, > Stacy > > > On Sunday, January 4, 2015 at 4:58:49 AM UTC-5, Neil Griffin wrote: >> >> Hi all, >> >> The documentation for ActionWidgets on tiddlywiki.com describes the >> <$button> widget as an example of a widget that can trigger an action >> widget. Am I right in thinking that currently it is the *only* way to >> trigger an action? I was hoping to be able to use a <$select> widget to >> trigger an action-setfield whenever the selected value is changed, but this >> does not seem to work. >> >> Before I either start implementing a sub-optimal alternative, or >> attempting to write my own modified widget, does anyone know if there might >> be an existing solution? Failing that, how hard would it be to add this >> feature to the <$select> widget (for someone with no experience in >> modifying widgets, but with a can-do attitude)? >> >> Thanks, >> >> Neil. >> > -- 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 https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/711226d7-f107-4355-a9b7-1c2188dc97ec%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

