Re: [twdev] Re: Writting an index macro

2017-04-27 Thread BJ
Hi Luis, the current tiddler name is stored in a variable (usually), use var currentTiddlerName = this.getVariable("currentTiddler"); then if you want data from a field var currentTiddler = this.wiki.getTiddler(currentTiddler); value = currentTiddler.getFieldString("fieldname"); cheers BJ

Re: [twdev] Re: Writting an index macro

2017-04-27 Thread Mat
Luis Gonzalez wrote: > > I wrote my two first macros. > Fantastic!!! The first is a WikiText macro, but I think we have no control sentences > like *if *or *for *loop in WikiText macros. I access all the tiddler > fields: title, text, created, modified, tags > Sure; the standard way

Re: [twdev] Re: Writting an index macro

2017-04-27 Thread Luis Gonzalez
I wrote my two first macros. The first is a WikiText macro, but I think we have no control sentences like *if *or *for *loop in WikiText macros. I access all the tiddler fields: title, text, created, modified, tags The second is a Javascript macro because I need control sentences. But in

Re: [twdev] Re: Writting an index macro

2017-04-27 Thread Mat
Luis, First, I'm sorry for hijacking your thread but I hope you feel you're also getting some answers. I agree with PMario that Tobias Beers stuff is top notch and a fantastic resource for learning about TW, especially if you have a coding background (which, incidentally, I don't really).

[twdev] Re: @dev - Why dev for Chrome is a MUST

2017-04-27 Thread TiddlyTweeter
Great discussion. Very relevant. I put it like this: I never minded that Firefox was in decline so long as it retained its flexibility. Its flexibility on add-ons was superb. BUT, right now, its move towards WebExtensions target for November, is causing havoc, especially for add-ons that need

[twdev] Re: @dev - Why dev for Chrome is a MUST

2017-04-27 Thread PMario
On Thursday, April 27, 2017 at 12:36:50 PM UTC+2, Mat wrote: > > For anyone developing plugins or public TW stuff, I just wanted to clarify > a general premise - in case you didn't know already: > > Assuming the intention is for people to *use* the plugin, it *has *to be > developed with Chrome

Re: [twdev] Re: Writting an index macro

2017-04-27 Thread PMario
On Thursday, April 27, 2017 at 10:45:19 AM UTC+2, Luis Gonzalez wrote: > I have various places I look for information: > http://tiddlywiki.com/ > http://tiddlywiki.com/dev/ > And many of the samples in http://tiddlywiki.com/static/Examples.html > have closer look at:

[twdev] @dev - Why dev for Chrome is a MUST

2017-04-27 Thread Mat
For anyone developing plugins or public TW stuff, I just wanted to clarify a general premise - in case you didn't know already: Assuming the intention is for people to *use* the plugin, it *has *to be developed with Chrome in mind: Visitors to w3schools

Re: [twdev] Re: Writting an index macro

2017-04-27 Thread Luis Gonzalez
I am a java and python programmer. I have various places I look for information: http://tiddlywiki.com/ http://tiddlywiki.com/dev/ And many of the samples in http://tiddlywiki.com/static/Examples.html The learning curve of tiddlywiki is very high, so if we want to make tiddlywiki better known