> Try setting more variables, using the vars widget,
> and then have the macro *only* do textual substitution:
>
@Tobias - thank you! That does the trick. But why actualy? Are macros not
intended to be used when evaluating stuff? Is there some kind of rule I
should know about?
<:-)
>
> \define makesource() $(origin)$/#:$(fetch)$
>
> ...
>
> <vars origin=<<location origin>> fetch={{Fetch_main!!plugin}}>
> <$set name="pluginsource" filter="[<fetch>get[source]]" emptyValue=<<
> makesource>> >
> <$action-setfield $tiddler="Fetch_main" $field="pluginsource" $value=<<
> pluginsource>> />
> </$set>
> </$vars>
>
> Best wishes,
>
> Tobias.
>
--
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/4cf14135-65fa-4eac-a399-1074630ce0f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.