[tw5] Re: [TW5] Secondary sort in Sortable Tables

2019-03-31 Thread Mohammad
S.S, What does each operator do here? On Monday, April 1, 2019 at 6:17:31 AM UTC+4:30, S. S. wrote: > > Give this a try: > > > <$list filter="[tag[Ebook]has[vendor]each[vendor]get[vendor]sort[]]"> > <$list filter="[tag[Ebook]has[vendor]field:vendor > sort[author]]"> > > > //<$link

[tw5] Re: [TW5] Secondary sort in Sortable Tables

2019-03-31 Thread Mohammad
Added to TW-Scripts On Monday, April 1, 2019 at 6:17:31 AM UTC+4:30, S. S. wrote: > > Give this a try: > > > <$list filter="[tag[Ebook]has[vendor]each[vendor]get[vendor]sort[]]"> > <$list filter="[tag[Ebook]has[vendor]field:vendor > sort[author]]"> > > > //<$link to={{!!title}}><$view

[tw5] Re: use variable for macro param default

2019-03-31 Thread Mohammad
Hi Tony, Have a look at https://stackoverflow.com/questions/17930267/what-is-the-difference-between-syntax-and-semantics-of-programming-languages and also Wikipewdia but in short! Semantics is about the *meaning* of the sentence. It answers the questions: is this sentence valid? If so, what

Re: [tw5] TiddlyIE broken in 5.1.19?

2019-03-31 Thread andrewg_oz
Hi Jeremy, I loaded my 5.1.13 and tested "window.TiddlyIE" in the console. I got "[object] { }". Then I tried the same using a freshly-downloaded empty 5.1.19 and got the same "[object] { }". However, if I disable the add-on, then "window.TiddlyIE" becomes "undefined". It might simply be

[tw5] Re: [TW5] Secondary sort in Sortable Tables

2019-03-31 Thread S. S.
Give this a try: <$list filter="[tag[Ebook]has[vendor]each[vendor]get[vendor]sort[]]"> <$list filter="[tag[book]has[vendor]field:vendor sort[author]]"> //<$link to={{!!title}}><$view field="title"/>// <$view field='author'/> <$view field='vendor'/> -- You

[tw5] Re: [TW5] Secondary sort in Sortable Tables

2019-03-31 Thread michaelharrison619
No, unfortunately that has removed all content except the authors. Guess I will have to keep playing around with it. Thank you for suggesting the get operator. Can you think of anything else that might work? Thank you. -- You received this message because you are subscribed to the Google

Re: [tw5] Updating from of node TW 17 to 19 not working?

2019-03-31 Thread Dave
Hi, I just tried sudo npm update -g tiddlywiki from a version 5.1.18, but nothing seemed to happen, i.e. no feedback in the terminal (but there was a 1-2 seconds pause). I'm on Bob 1.2.2r2. I tried looking for a big file called something like "$__core.tid", but didn't find it. Is it

[tw5] Re: [TW5] Secondary sort in Sortable Tables

2019-03-31 Thread S. S.
I had imagined that changing the first line of the macro to the below might have done it. But I may be very mistaken. [tag[EBook]has[vendor]get[author]$(SortType)$sort{!!sort_by}] I have not used the *get* operator before, so this may be very incorrect help. Sorry. On Monday, April 1, 2019

[tw5] Re: [TW5] Secondary sort in Sortable Tables

2019-03-31 Thread michaelharrison619
S. S., I apologize for being a clod, but I am afraid I don't see how I would be able to implement the get operator in the above table. Would you be able to explain how I would use the operator properly? From what I understand, I would not have thought it would work with the sortable table.

[tw5] Re: [TW5] Secondary sort in Sortable Tables

2019-03-31 Thread S. S.
Huw asked a similar question just yesterday, and who else but Jed had the answer. Filter list by tag but sort by and show value of field Hope that helps. Cheers -- You received this message because you are subscribed to

[tw5] Re: In TiddlyWiki (5) my macro works in tiddlers, except when appearing as sidebar

2019-03-31 Thread icqol . secretary
Thanks!!! That's what I needed to know!! On Sunday, March 31, 2019 at 8:44:15 AM UTC+9, TonyM wrote: > > tiddlers in the sidebar do not have the current tiddler set. > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this

[tw5] Re: use variable for macro param default

2019-03-31 Thread TonyM
Mohammad, you and others are often referring to symantic, can you share a definition if possible. The term clashes in my mind with philosophy and natural languages use of the word. Thanks Tony -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.

[tw5] [TW5] Secondary sort in Sortable Tables

2019-03-31 Thread michaelharrison619
Hello, I have been using Jed McCarty's code for clickable table column headers to create sortable tables. I recently put together a table to keep track of my various ebooks and from whih vendor I purchased them. See code below. \define SortableFilters()

Re: [tw5] How to use the $set widget properly with a "not missing" and "empty" filter?

2019-03-31 Thread Mohammad
Hi Eric, Excellent as always! Best Mohammad On Sunday, March 31, 2019 at 9:47:42 PM UTC+4:30, Eric Shulman wrote: > > On Sunday, March 31, 2019 at 7:46:22 AM UTC-7, Jeremy Ruston wrote: >> >> Perhaps it would be clearer expressed as a series of examples... >> > > Here's my take on examples plus

Re: [tw5] How to use the $set widget properly with a "not missing" and "empty" filter?

2019-03-31 Thread Eric Shulman
On Sunday, March 31, 2019 at 7:46:22 AM UTC-7, Jeremy Ruston wrote: > > Perhaps it would be clearer expressed as a series of examples... > Here's my take on examples plus a little bit of re-arranging and editing of Jeremy's descriptions... > 1. If the "tiddler" attribute is present, get the

[tw5] Re: Tiddlywiki on Node.js: Backup

2019-03-31 Thread Mohammad
Hi RA, Actually I am using TW on Node.js on a Windows machine and I like to have a backup of the tiddlers I change! --Mohammad -- 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,

[tw5] Re: Tiddlywiki on Node.js: Backup

2019-03-31 Thread RA
I use syncthing to propagate my wiki folder from server to 2 workstations. It comes with file versioning functionality. I'm not familiar with Tiddlydesktop not Timimi, but I'm guessing that's what you are looking for? On Friday, March 29, 2019 at 10:25:49 PM UTC-7,

[tw5] Re: How to use the $set widget properly with a "not missing" and "empty" filter?

2019-03-31 Thread Mohammad
Hi S.S., If you add the Jeremy explanation to your documentation project, I appreciate to update us here! Thank you On Sunday, March 31, 2019 at 1:29:14 AM UTC+4:30, S. S. wrote: > > > I found a solution here: [TW5] Using conditional assignment mode of > SetWidget to check empty strings >

Re: [tw5] How to use the $set widget properly with a "not missing" and "empty" filter?

2019-03-31 Thread Mohammad
Added to TW-Scripts On Sunday, March 31, 2019 at 7:16:22 PM UTC+4:30, Jeremy Ruston wrote: > > Hi SS > > The logic used by the set widget to determine the result assigned to the > variable is as follows: > > 1. If the "tiddler" attribute is present and not blank, then: > 1a. If the "subtiddler"

Re: [tw5] How to use the $set widget properly with a "not missing" and "empty" filter?

2019-03-31 Thread Jeremy Ruston
Hi SS The logic used by the set widget to determine the result assigned to the variable is as follows: 1. If the "tiddler" attribute is present and not blank, then: 1a. If the "subtiddler" attribute is also present and not blank, then get the subtiddler from the specified tiddler, otherwise

[tw5] Re: [TW5] Bob and BobEXE version 1.2.2 Friend Potatoes

2019-03-31 Thread Jed Carty
BIG NOTE OF DOOM: THIS IS VERY EXPERIMENTAL I haven't run into bugs, but as this thread demonstrates that doesn't mean that there aren't a lot of them. Back everything up before trying out the new features. That said, because I can't let things go, now you can get plugins directly from

Re: [tw5] Re: Fraalancer Needed to Customize TiddlyWiki to a Project Scheduler

2019-03-31 Thread Jeremy Ruston
Hi Ams, Just to add that I do consultancy work on TiddlyWiki through my company Federatial (https://federatial.com/). Most of our work at the moment is around Xememex, a multi-user cloud implementation of TiddlyWiki. We offer it on a wholesale basis: organisations pay us to run an independent

[tw5] Re: use variable for macro param default

2019-03-31 Thread Mohammad
Thanks for clarification. It is interesting. Best Mohammad -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to

[tw5] Re: use variable for macro param default

2019-03-31 Thread S. S.
Mohammad, Since we are using the parameter *c* as a variable, we have to define its value as a variable first. So if we wanted to pass the value *red* to the parameter *c*, we first have to define the variable *red*. In this case we give the variable *red* the value *red* also. Then it will

[tw5] Re: use variable for macro param default

2019-03-31 Thread Mohammad
Also this is interesting h=<<$c$>> On Sunday, March 31, 2019 at 3:49:19 PM UTC+4:30, S. S. wrote: > > RA, > > See if this works for you: > \define myhelper(h) > \define mymacro(c:"variable_for_color") <$macrocall $name="myhelper" h=<< > $c$>>/> > > <$set name="variable_for_color"

[tw5] Re: use variable for macro param default

2019-03-31 Thread Mohammad
Hi S.S, Your solution teaches one new rule A variable can be referenced as default value in a macro definition by its name So: c:<> or c:$(varname)$ does not work BUT c:"varname" works! Is this is bug or it is a rule? --Mohammad On Sunday, March 31, 2019 at 3:49:19 PM UTC+4:30, S. S. wrote:

[tw5] Re: use variable for macro param default

2019-03-31 Thread Mohammad
Why this does not work? <$set name="variable_for_color" value="blue"> a <> b c <> d It produces a b c d On Sunday, March 31, 2019 at 3:49:19 PM UTC+4:30, S. S. wrote: > > RA, > > See if this works for you: > \define myhelper(h) > \define mymacro(c:"variable_for_color") <$macrocall

[tw5] Re: use variable for macro param default

2019-03-31 Thread S. S.
RA, See if this works for you: \define myhelper(h) \define mymacro(c:"variable_for_color") <$macrocall $name="myhelper" h=<<$c$ >>/> <$set name="variable_for_color" value="blue"> a <> b Inspecting the underlying HTML gives: a b Cheers On Sunday, March 31, 2019 at 10:59:26 AM UTC+7, RA

[tw5] Re: Tiddler Commander Plugin: New update 0.0.15

2019-03-31 Thread Mohammad
Hi Mario, A new release of Tiddler commander is ready to upload and now: - All css prefixes changed to cmd- so there is no confusion with TW standard css prefixes (Note: there was no overwrite) - The default tab button style has not been changed! but the a customized css for the tab button

[tw5] Re: use variable for macro param default

2019-03-31 Thread Mohammad
On Sunday, March 31, 2019 at 8:29:26 AM UTC+4:30, RA wrote: > > Is it possible? I want to do something like this: > > \define mymacro(c:variable_for_color)"color:variable_for_color"/> > > So, there are 3 questions here really: defining a variable before defining > a macro, using variable as

[tw5] Re: Filter list by tag but sort by and show value of field

2019-03-31 Thread Huw
That is most excellent! Thanks! I missed that operator entirely! regards Huw On Sunday, 31 March 2019 09:52:54 UTC+1, Jed Carty wrote: > > It sounds like you need the get operator > https://tiddlywiki.com/#get%20Operator > > Try this: > > <$list filter='[tag[TAGNAME]get[nameid]sort[]]'> > > >

[tw5] Re: Filter list by tag but sort by and show value of field

2019-03-31 Thread Mohammad
Added to TW-Scripts On Sunday, March 31, 2019 at 1:22:54 PM UTC+4:30, Jed Carty wrote: > > It sounds like you need the get operator > https://tiddlywiki.com/#get%20Operator > > Try this: > > <$list filter='[tag[TAGNAME]get[nameid]sort[]]'> > > > > > -- You received this message because you

[tw5] Re: use variable for macro param default

2019-03-31 Thread Mohammad
This is not an elegant solution and not semantic, but works! \define spanmac(text) $text$ \end \define mymacro(c:"", text) <$list filter="[enlist[$c$ $(vc)$]limit[1]]" variable=myColor> <> \end <$vars vc="red" > ;Test one, no color sent :<> ;Test two :<> The vc has a default red

[tw5] Re: Filter list by tag but sort by and show value of field

2019-03-31 Thread Jed Carty
It sounds like you need the get operator https://tiddlywiki.com/#get%20Operator Try this: <$list filter='[tag[TAGNAME]get[nameid]sort[]]'> -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving

[tw5] Filter list by tag but sort by and show value of field

2019-03-31 Thread Huw
Currently I am using "*<$list filter='[tag[TAGNAME]sort[title]]'/>*" to produce a list of tiddlers by tag. Works fine. However, what I would like to do (and have failed miserably) is to get a list of tiddlers by tag, sorted by and displaying the value of a specific field. So for example I