[tw] Re: [TW5] How to teach macro to take some data from URL and put it to list field of temp tiddler?

2016-09-18 Thread PMario
On Sunday, September 18, 2016 at 10:47:53 AM UTC+2, Siniy-Kit wrote: > > Now I try to teach this macro to save some data from URL to the list field > of tiddler $:/temp/mylist > I try to use this hook > http://tiddlywiki.com/dev/#Hook%3A%20th-saving-tiddler but get error. > > I use this $tw.Tiddl

[tw] Re: [TW5] How to teach macro to take some data from URL and put it to list field of temp tiddler?

2016-09-18 Thread PMario
Hi try this: $tw.wiki.addTiddler(new $tw.Tiddler($tw.wiki.getModificationFields(), {title:"bla",caption:"hi"})); It will show up in the recent tab now. The second function you may want to use is: $tw.wiki.getCreationFields()that gives you the created timestamp -m -- You received this mes

[tw] Re: [TW5] How to teach macro to take some data from URL and put it to list field of temp tiddler?

2016-09-18 Thread Siniy-Kit
Thank you, Danielo. I put this code new $tw.Tiddler({title:"bla",caption:"hi"}); to my macros, but tiddler "bla" didn't appear. may be it is necessary to write something else? Or may be somebody have a full example of using this hook? воскресенье, 18 сентября 2016 г., 11:53:17 UTC+3 пользо