This version is working on my system: define img(x) [img[http://ichart.finance.yahoo.com/t?s=^DJI#?$x$]] \end
<$macrocall $name=img x=<<now>>/> <$button>Refresh Tiddler <$action-setfield $tiddler='$:/temp/update' text=<<now> >/></$button> Good luck! Mark On Tuesday, October 25, 2016 at 12:55:29 PM UTC-7, FFT wrote: > > Regarding the <$set> tag, can you help clarify what I can remove? This is > what I have using BJ's suggestion. > > \define img(x) > [img[http://ichart.finance.yahoo.com/t?s=^DJI#?$x$]] > \end > > <$set name=dummy value={{$:/temp/update}}> > <$macrocall $name=img x=<<now>>/> > > <$button>Refresh Tiddler > <$action-setfield $tiddler='$:/temp/update' text=<<now>>/> > </$button> > </$set> > > > On Tuesday, October 25, 2016 at 12:22:28 PM UTC-7, Mark S. wrote: >> >> That seems to work on my system. It doesn't seem to need the <$set> tag. >> It should probably have the closing button tag for completeness. >> >> On Tuesday, October 25, 2016 at 12:02:52 PM UTC-7, BJ wrote: >>> >>> the image is probably being cached by the browser try >>> >>> \define img(x) >>> [img[http://ichart.finance.yahoo.com/t?s=^DJI#?$x$]] >>> \end >>> >>> <$set name=dummy value={{$:/temp/update}}> >>> <$macrocall $name=img x=<<now>>/> >>> <$button>Refresh Tiddler >>> <$action-setfield $tiddler='$:/temp/update' text=<<now> >>> >/> >>> </$set> >>> >>> On Tuesday, October 25, 2016 at 6:59:49 PM UTC+1, FFT wrote: >>>> >>>> I added the </$button> tag, however the tiddler did not rerender the >>>> image upon clicking the refresh button; I tried clicking it after 30 >>>> minutes and it still didn't work. >>>> >>>> On Monday, October 24, 2016 at 2:45:26 PM UTC-7, Mark S. wrote: >>>>> >>>>> There needs to be a closing *</$button>* tag just before *</$set>* in >>>>> Tobias' version. >>>>> >>>>> However, I can't tell if it works -- all the stock markets are closed! >>>>> The Hong Kong Market won't open for another 4 hours. The London for >>>>> another >>>>> 11. 16 for the Dow. >>>>> >>>>> Good luck! >>>>> Mark >>>>> >>>>> On Monday, October 24, 2016 at 2:22:49 PM UTC-7, FFT wrote: >>>>>> >>>>>> Thanks for suggesting this, however I am not able to get this to >>>>>> refresh after clicking the button. Is there something else I can try? >>>>>> >>>>>> On Monday, October 24, 2016 at 12:38:26 PM UTC-7, Tobias Beer wrote: >>>>>>> >>>>>>> Hi Jet, >>>>>>> >>>>>>> >>>>>>>> Try putting a set widget around the parts that you want refreshed. >>>>>>>> >>>>>>> >>>>>>> I believe you may actually need to change the text: >>>>>>> >>>>>>> <$set name=dummy value={{$:/temp/update}}> >>>>>>> [img[http://ichart.finance.yahoo.com/t?s=^DJI]] >>>>>>> <$button>Refresh Tiddler >>>>>>> <$action-setfield $tiddler='$:/temp/update' text=<<now>>/> >>>>>>> </$set> >>>>>>> >>>>>>> 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/c3d064b0-4599-47a2-8dda-6c54e8c90d0e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

