[tw] Re: triggering action widgets

2016-06-28 Thread Andrew Whiting
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

[tw] Re: triggering action widgets

2016-04-03 Thread Stacy Cunningham
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.invokeA

[tw] Re: triggering action widgets

2015-01-06 Thread Tobias Beer
Hi Jed, > The basic 'make this field equal that field' isn't very useful by itself, > but what you can do with it seems to be pretty powerful and goes beyond > what you can do with the simple transclusion. > It's slowly dawning on me now. ^^ Perhaps the "link" bit of the widget name confused

[tw] Re: triggering action widgets

2015-01-05 Thread Jed Carty
Tobias, In that context there isn't really any benefit other than a possible very small simplification. But it can be used to set the value of a field to something other than what the source field is set to. I have been able to do two things that I have wanted to be able to do with tiddlywiki

[tw] Re: triggering action widgets

2015-01-05 Thread Tobias Beer
As for "linking fields", instead of having a dedicated link-fields widget... <$link-fields $sourcetiddler=sourceTiddler $sourcefield=source_field $storetiddler=storeTiddler $storefield=store_field/> ...why not use... title:sourceTiddler source_field:foo ...and then... title:storeTiddler store_

[tw] Re: triggering action widgets

2015-01-05 Thread Tobias Beer
Hi Jed, By the way, looking at... Concatenating text to make dynamic URLs @ inmysocks You might benefit from this... <$select field='foo'> <$list filter="1 2 3 4 5 6"> <> ''foo:'' {{!!foo}} Best wishes, To

[tw] Re: triggering action widgets

2015-01-05 Thread Jed Carty
A set of durably linked fields could make settings like I have in the contacts database I made easier to manage. But it looks like the biggest uses are from using it in a sort of oblique fashion. Like setting the values of a set of fields on a button press like in this example: http://inmysocks

[tw] Re: triggering action widgets

2015-01-05 Thread Tobias Beer
Hi Jed, In your example with this looong title... Using the link-fields widget to make a select widget set multiple fields to separate values

[tw] Re: triggering action widgets

2015-01-05 Thread Tobias Beer
Hi Jed, > 'make this field always equal that field' will be simpler for people to use You still have not explained why you want to do that. Or did I miss it? Is it that you have a tiddler or template *foo* and upon *button press* you want the value *bar* at tiddler *baz* to be set to the val

[tw] Re: triggering action widgets

2015-01-04 Thread Jed Carty
I made an example of how the link-fields widget can be used to have a select widget set multiple fields to different values simultaneously. It is not a particularly elegant solution, but it works. Hopefully I will be able to find a way to let it use a data tiddler to define the values, but I ha

[tw] Re: triggering action widgets

2015-01-04 Thread Jed Carty
Tobias, A few things: It would make some things a bit more straightforward, like I think I can use it to implement location-based triggers for the interactive fiction engine I made. Most of what it does could be done using the set widget with a filter using the get operator, but I am hoping t

[tw] Re: triggering action widgets

2015-01-04 Thread Tobias Beer
> > I am working on a link-fields widget that makes sure that the value of one > (or more) field(s) is the same as another field. > May I ask: Why? Best wishes, Tobias. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this

[tw] Re: triggering action widgets

2015-01-04 Thread Jed Carty
I am working on a link-fields widget that makes sure that the value of one (or more) field(s) is the same as another field. It still has some problems that I am hoping to fix, but it works. http://inmysocks.tiddlyspot.com/#TW5Utils%20Plugin I was hoping to add exactly what you are talking about