[tw5] Re: Is there a way to generate a set of dynamical variables?

2019-11-07 Thread Stephan Hradek
Am Donnerstag, 7. November 2019 02:34:22 UTC+1 schrieb TonyM: > > Stephan, > > I believe attachments are handled as mime types inside the body text. > Of course. Looking at the pure ASCII file of a mail it's trivial. The content type is multipart mixed. A boundary string is defined and then

[tw5] Re: Is there a way to generate a set of dynamical variables?

2019-11-06 Thread Stephan Hradek
Am Dienstag, 5. November 2019 17:16:48 UTC+1 schrieb Mark S.: > > You're doing some amazing stuff there, BTW. > Thanks. I may not understand, but perhaps for #1 you should create a template > editor for the user. > That's a great idea! > For #2, since you are doing your own parsing,

[tw5] Re: Is there a way to generate a set of dynamical variables?

2019-11-05 Thread Stephan Hradek
Am Mittwoch, 6. November 2019 06:21:04 UTC+1 schrieb TonyM: > > My dream is to be able to attach a json file of tiddlers to an email as > well, any idea if this may be possible? > As far as I know it's not possible to add attachments with a mailto-link. You could "paste" the JSON content

[tw5] Re: Is there a way to generate a set of dynamical variables?

2019-11-04 Thread Stephan Hradek
Am Montag, 4. November 2019 21:21:57 UTC+1 schrieb Mark S.: > > What browser? You have to save from Chrome the first time. > Firefox… So thanks for the hint. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and

[tw5] Re: How do I use GitHub Saver?

2019-11-04 Thread Stephan Hradek
Am Mittwoch, 16. Oktober 2019 23:44:44 UTC+2 schrieb leeand00: > > Also, does it save the password in plain text? That would be bad. Or do > I have to type it back in again everytime? > https://tiddlywiki.com/#Saving%20to%20a%20Git%20service says Notes > >- The Git service *password is

[tw5] Re: How do I use GitHub Saver?

2019-11-04 Thread Stephan Hradek
Am Freitag, 18. Oktober 2019 08:38:57 UTC+2 schrieb HC Haase: > > thanks Mark > > I had the same problem. > > Do anyone know if it is possible to save to local file AND to github (as > backup) instead of choosing between them?? > Maybe you can create a tiddler with some action widgets to do

[tw5] Re: How do I use GitHub Saver?

2019-11-04 Thread Stephan Hradek
Am Sonntag, 3. November 2019 20:39:25 UTC+1 schrieb leeand00: > > Is it possible to add a commit message? > $:/language/ControlPanel/Saving/GitService/CommitMessage -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this

[tw5] Re: Is there a way to generate a set of dynamical variables?

2019-11-04 Thread Stephan Hradek
@all who answered - Thanks for your time. What I did now is to provide a working example at https://github.com/Skeeve/mailtemplates-made-easy/tree/master/wiki If you're interested you can download from there. The only questions I have are: 1. How can I make sure, the default values are

[tw5] Is there a way to generate a set of dynamical variables?

2019-10-30 Thread Stephan Hradek
Background of my question: For a colleague who often needs to write standard mails I've created a TiddlyWiki where one can create 2 tiddlers. One with the standard mailtext using place holders. The placeholders are also defined in the template. Example below. The other tiddler is simply one

Re: [tw5] http://kixam.github.io/TW5-datePicker/ How to set the locale

2019-10-11 Thread Stephan Hradek
Nope… They do not give me german month names. -- 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 view this discussion on

[tw5] Re: Today TiddlyWiki is 15 years old

2019-09-23 Thread Stephan Hradek
Congratulations to all involved… -- 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 view this discussion on the web visit

Re: [tw5] ActionSetFieldWidget more capable than ActionDeleteFieldWidget

2019-09-10 Thread Stephan Hradek
ibutes table > > Semantically like you I prefer to use ActionDeleteFieldWidget NOT > ActionSetFieldWidget > > > Best wishes > Mohammad > > > On Tue, Sep 10, 2019 at 5:13 PM Stephan Hradek > wrote: > >> Is there any reason why the ActionSetFieldWidget can set a

[tw5] Re: Using variables and regex in a macro with a list filter.

2019-09-10 Thread Stephan Hradek
Not sure whether I completely understand, but try: <$list filter="[tag[person]team[$team$]regexp:role[$role$]sort[role]]" template="$:/core/ui/ListItemTemplateContacts"/> -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe

[tw5] ActionSetFieldWidget more capable than ActionDeleteFieldWidget

2019-09-10 Thread Stephan Hradek
Is there any reason why the ActionSetFieldWidget can set an index, but ActionDeleteFieldWidget cannot delete an index? How can I delete an Index? -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving

[tw5] Re: an issue pop(s)up

2019-07-10 Thread Stephan Hradek
Am Mittwoch, 10. Juli 2019 10:32:18 UTC+2 schrieb Jeremy Ruston: > > You can work around it by using a text reference for the reveal widget > instead of separate title and field attributes. > Not quite, as the popup does not go away when clicking outside. -- You received this message

[tw5] Re: toc enhancement help needed

2019-07-10 Thread Stephan Hradek
Hi Laurent. I do not completely understand your issue and I also haven't looked into your macro. Is the issue the linebreak before the numbers? In that case I'd suggest you try to get rid of all linebreaks in your macro and the call of your macro. My experience with TW is that this whitespace

[tw5] an issue pop(s)up

2019-07-10 Thread Stephan Hradek
I'm wondering: what am I doing wrong? Paste this into a new tiddler: <$button popup="$:/SamplePopupState!!editmode">Pop me up! <$reveal type="popup" stateTitle="$:/SamplePopupState" stateField="editmode"> ! This is the popup And this is some text and you'll get Internal JavaScript Error

[tw5] Re: Transclusion into variable or something similar?

2019-07-03 Thread Stephan Hradek
Attachments won‘t work. You could only provide a link to a web location where you keep the file for the user see https://stackoverflow.com/questions/5233556/using-mailto-to-send-email-with-an-attachment HTML mails also don‘t work

[tw5] Re: Transclusion into variable or something similar?

2019-07-03 Thread Stephan Hradek
Hi Tony Am Dienstag, 2. Juli 2019 01:16:52 UTC+2 schrieb TonyM: > > Stephen, > > Welcome back, if you can share your ultimate result that would be great. > I will. I already have something working and wil describe it, as soon as I have time :/ extensively. But here is what I do just roughly

Re: [tw5] Did I find a bug? Or am I using it wrong?

2019-07-02 Thread Stephan Hradek
Am Dienstag, 2. Juli 2019 09:46:31 UTC+2 schrieb Xavier: > > Hi Stephan, > > In order to "flatten" the titles retrieved from the filter, you need to > use the *select* attribute of your <$set> widget like so: <$set > name="left" filter="[splitbefore[ -- ]removesuffix[ -- ]]" > select=0> > >> >>

[tw5] Did I find a bug? Or am I using it wrong?

2019-07-02 Thread Stephan Hradek
For my mailto-link I want to supply a tiddlername and a linktext to a macro. For this I thought it would be a good ideat to do it in the form of {{the tiddler with the mail template -- the linktext||mailto}} So the idea is to have a mailtext in the tiddler (the tiddler with the mail template)

[tw5] Re: Transclusion into variable or something similar?

2019-07-01 Thread Stephan Hradek
Am Montag, 1. Juli 2019 14:06:36 UTC+2 schrieb Mat: > > Hey there's a familiar name! Welcome back Stephan. > > Thanks! Also to @PMario and @Mohannad > I think you need to wikify the MailText (wikifywidget) before sending to > encodeuri > > That seems like the solution. Thanks a lot! --

[tw5] Transclusion into variable or something similar?

2019-07-01 Thread Stephan Hradek
Hi! After quite some time I'm back to using TiddlyWiki (hopefully) a bit more regularly. Seems my kowledge has rusted over the last 2 years. I cannot figure out how to get solved what I want to achieve. The idea is the following: I have to create some customer information and in that process

[tw5] Re: How to do I make some specific changes in the UI?

2018-09-15 Thread Stephan Hradek
This is ugly but to give you a starting point: You can use CSS. Create a new tiddler tagged with $:/tags/Stylesheet Then insert div.tc-search { position: fixed; top: 0px; left: 0px; } div.tc-page-controls { position: fixed; top: 0px; right: 0px; } div.tc-sidebar-header

[tw5] Re: [TW5] [ger] TiddlyWiki in der c't

2018-09-15 Thread Stephan Hradek
Am Samstag, 15. September 2018 11:28:17 UTC+2 schrieb @TiddlyTweeter: > > Its unfortunate you have to pay to read the whole article. > That's normal for a computer magazin. You should buy it to read it… Or go to the nearest book store and read the article there ;) -- You received this

[tw5] [TW5] [ger] TiddlyWiki in der c't

2018-09-15 Thread Stephan Hradek
https://www.heise.de/ct/ausgabe/2018-20-Notizverwaltung-mit-TiddlyWiki-4157973.html TiddlyWiki was showcased in the current edition (20/2018) of the german computer magazin c't. Nice article with the small downside that the author didn't know about @pmario's TiddlyBackup. -- You received

[tw5] Re: Create new tiddler from template fill title an jump to text field

2018-04-14 Thread Stephan Hradek
I do not fully understand your exampl. Can you give full tiddlers so that we can recreate and test it on tiddlywiki.com? -- 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

[tw5] Re: Question about organization

2018-04-11 Thread Stephan Hradek
Did you have the preview on? I usually switch it off when creating longer tiddlers. OTOH: I just created on http://lipsum.com 50 paragrahs, 4797 words, 32624 bytes of Lorem Ipsum text, changed every "lorem" to [[lorem]] and every "ipsum" to ''ipsum'' and couldn't

[tw5] Re: [OT] Card Design

2018-04-10 Thread Stephan Hradek
Twitter… Invariable length… Correct me if I'm wrong but the "invariable length" used to be 140 and now is 280 characters? ;) -- 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

[tw5] Re: How to tag separate paragraphs in different tiddlers and then transclude them?

2018-04-09 Thread Stephan Hradek
Am Dienstag, 10. April 2018 02:17:59 UTC+2 schrieb TonyM: > > JD, > > Should we be using a new thread to collaborate otherwise we are somewhat > hijacking the thread? > Isn't this something for the TiddlyWikiDev group? -- You received this message because you are subscribed to the Google

[tw5] Re: Display contents of tiddler as list

2018-04-09 Thread Stephan Hradek
You could also use my pick plugin and use this in your select: <$select field="Topic:"> <$list filter="[[Topic List]pick:text[(?gm)^(.+)$]]"> <$view field='title'/> -- You received this message because you are subscribed to the Google Groups

[tw5] Re: Display contents of tiddler as list

2018-04-09 Thread Stephan Hradek
Yes if this is your Topic List: [[Topic 1]] [[Topic 2]] [[Topic 3]] -- 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

[tw5] Re: How to tag separate paragraphs in different tiddlers and then transclude them?

2018-04-07 Thread Stephan Hradek
Am Sonntag, 8. April 2018 03:57:11 UTC+2 schrieb Mat: > > Then, to almost automatically create articles, put this in a conditional > viewtemplate > . This > means that all (and only) tiddlers tagged e.g "article" will show

[tw5] Re: How to tag separate paragraphs in different tiddlers and then transclude them?

2018-04-07 Thread Stephan Hradek
Am Samstag, 7. April 2018 19:27:14 UTC+2 schrieb Mark S.: > > I had no idea that you could apply a template to more than one tiddler at > a time. Is this in the documentation some place? > See my reply above: I simply provide just one tiddler title, which happens to look like 3, to trans-edit.

[tw5] Re: How to tag separate paragraphs in different tiddlers and then transclude them?

2018-04-07 Thread Stephan Hradek
Am Samstag, 7. April 2018 17:06:12 UTC+2 schrieb JD: > > This is really cool! > > I'd go with the reveal-widget (instead of a modal) to edit the paragraphs > in place, unless there's a con to that method? > I didn't use reveal because I got the feeling that it'll be too much code. But I might

[tw5] Re: How to tag separate paragraphs in different tiddlers and then transclude them?

2018-04-07 Thread Stephan Hradek
Am Samstag, 7. April 2018 14:56:19 UTC+2 schrieb Vytas: > > > {{[[A]][[B]][[C]]||trans-edit}} > it brings the titles A, B and C as values to the "trans-edit" piece of > code, > Nope. It brings "[[A]][[B]][[C]]" as one tiddler title (in <>) to trans-edit. > which then provides the listing

[tw] Re: bug when calling a csv tiddler in a javascript

2018-04-06 Thread Stephan Hradek
What's the "type" of your tiddler? As you seem to understand JavaScript, have a look at the getTiddler definition: exports.getTiddlerData = function(titleOrTiddler,defaultData) { var tiddler = titleOrTiddler, data; if(!(tiddler instanceof $tw.Tiddler)) {

[tw] Re: How to tag separate paragraphs in different tiddlers and then transclude them?

2018-04-06 Thread Stephan Hradek
I've created a small example for you to reproduce on tiddlywiki.com Create some paragraph tiddlers. I've called them A, B and C containing some Lorem Ipsum text . Example AA Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam eget ex nunc. Maecenas blandit

[tw] Re: How to tag separate paragraphs in different tiddlers and then transclude them?

2018-04-06 Thread Stephan Hradek
It is possible to edit the content of a tiddler in the VIEW Window of another tiddler. So if you have one tidler consistiong of transclusions of other tiddlers, it could look like this: {{My first Paraggraph||trans-edit}} {{My second Paraggraph||trans-edit}} {{My third

[tw] Re: [TW5] enhance regexp or new filter "pick"

2018-04-05 Thread Stephan Hradek
As usual: 1. Drag & Drop the link into your tiddlywiki. 2. Import the library (link) 3. Go to Settings ($:/ControlPanel) 4. Click on Plugins 5. Get more plugins 6. Open my plugin library 7. install

[tw] Re: [TW5] enhance regexp or new filter "pick"

2018-04-05 Thread Stephan Hradek
Am Dienstag, 3. April 2018 16:30:43 UTC+2 schrieb Mat: > > @Stephan > > Any news on this? Is your plugin created? Really looking forward to it and > I think it will be very useful :-) > > https://skeeve.github.io/tw5-plugins/ -- You received this message because you are subscribed to the

[tw] Re: [TW5] enhance regexp or new filter "pick"

2018-04-05 Thread Stephan Hradek
In case someone is interested: https://skeeve.github.io/tw5-plugins/ -- 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

[tw] Re: Feedback wanted for plugin idea: domain-specific backticks

2018-04-05 Thread Stephan Hradek
What about simply creating templates? The notation then is a bit different. Instead og `define: vector space` and `equation: α(u + v) = αu + αv` you would need to write {{vector space||define}} and {{α(u + v) = αu + αv||equation}} For this you just need to define a tiddler called "define",

[tw] Re: [TW5] Possible to reveal where a missing tiddler is mentioned?

2018-04-05 Thread Stephan Hradek
I'd like to understand the issue, soI've put your tiddler into a "New Tiddler" on tiddlywiki.com. It shows 189 missing tiddlers, but the table is empty, What do I need to do in order to see what you see? -- You received this message because you are subscribed to the Google Groups

[tw] Re: [TW5]] Regexp to find tiddlers with a title of max length

2018-04-05 Thread Stephan Hradek
I do not completely understan your question. But this is an explanation for regexp: - [\w{1,4}$] - This would match almost ANY title, because you say: Find 1-4 characters at the end of the title. - [^\w{1,4}$] - This would match titles having 1-4 characters

[tw] Re: Vorstellung meines Wikis: Anleitung für TW5 (f. blutige Anfänger) & Körperpflege/Reinigungsmittel palmölfrei selbst herstellen

2018-04-05 Thread Stephan Hradek
Okay… Dann etwas freundlicher. Du hast sicherlich viel Zeit und Mühe in den Inhalt Deiner Seite gesteckt. Leider kann ich das nicht richtig goutieren, alldieweil mir die farbliche Gestaltung Deiner Seite nicht konveniert. -- You received this message because you are subscribed to the Google

[tw] Re: Vorstellung meines Wikis: Anleitung für TW5 (f. blutige Anfänger) & Körperpflege/Reinigungsmittel palmölfrei selbst herstellen

2018-04-03 Thread Stephan Hradek
AUA! Ds macht Augenkrebs! Schwarz auf Violett geht gar nicht. -- 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

[tw] Re: A question about the search operator

2018-03-26 Thread Stephan Hradek
To search in the values, i'm not sure, but I think this would do: <$list filter="[all[tiddlers+shadows] type[application/json]]" variable="jsonTiddler"> <$list filter="[getindex[skill]search:title]"> <> -- You received this message because you are subscribed to the Google Groups

[tw] Re: Populating the list field of a tiddler that is a tag

2018-03-23 Thread Stephan Hradek
I wouldnt have tagged the illustration tiddlers at all. After all: They are already named "Illustration X" so a simple "prefix[Illustration ]" filter would do. Unfortunately automatic sorting of the tiddlers isn't possible yet. There is a plugin which could do that

[tw] Re: Populating the list field of a tiddler that is a tag

2018-03-23 Thread Stephan Hradek
To me it's absolutely unclear a) What you're trying to achieve b) What's your question Really sorry for that. Do you think there are filters the student can't use becaue he used tags and he could have used, had he used lists? So can you give an example? Maybe publish an example somewhere for

Re: [tw] rest[0] problem

2018-03-23 Thread Stephan Hradek
Am Freitag, 23. März 2018 10:41:32 UTC+1 schrieb Jeremy Ruston: > > but I think it’s probably a bug. > It is and I just created a pull request to fix it. I also adjusted the x-listops, I hope that's okay. They had the same piece of code in I once introduced.

[tw] Re: rest[0] problem

2018-03-23 Thread Stephan Hradek
Yes, there is a bug! var count = parseInt(operator.operand) || 1, I think this would fix it var count = parseInt(operator.operand), results = []; if( isNaN(count) ) { count= 1; } -- You received this message because you are subscribed to the Google Groups "TiddlyWiki"

[tw] Re: External link tooltips for dummies

2018-03-22 Thread Stephan Hradek
Am Donnerstag, 22. März 2018 19:35:09 UTC+1 schrieb Antti E.: > > Stephan - You are the king! > > Works perfectly, thank you. > Just remember that it might be broken if you upgrade. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To

[tw] Re: I love TiddlyWiki because...

2018-03-22 Thread Stephan Hradek
…of the helpful people around it. -- 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 this group, send email to

Re: [tw] Is there a way to not popup all tag dropdowns?

2018-03-22 Thread Stephan Hradek
Am Donnerstag, 22. März 2018 13:09:06 UTC+1 schrieb Jeremy Ruston: > > Hi Stephan > > I think this is the simplest fix: > COOL I have no clue, why it works, but it does. Thanks a lot. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To

[tw] Re: External link tooltips for dummies

2018-03-22 Thread Stephan Hradek
Try this: in `$:/core/modules/parsers/wikiparser/rules/prettyextlink.js` after node.attributes.href = {type: "string", value: URL}; add node.attribute.title= {type: "string", value: URL}; in `$:/core/modules/parsers/wikiparser/rules/prettylink.js` after

[tw] Is there a way to not popup all tag dropdowns?

2018-03-22 Thread Stephan Hradek
Hi! I'm using the timeline macro, overwriting the timeline-title macro to also display (some of) the tags of each tiddler. Now when I click on one of the tags, the dropdown of each of these tags openes. Is there a way to avoid this? Example to try out on tiddlywiki.com \define

[tw] [TW5] Tipp: Line breaks in lists

2018-03-07 Thread Stephan Hradek
Maybe it's already known, but I can remember we often had the question how to add a linebreak in a list. Previously the recommendation was to use , but then lines would become very long and cumbersome to read. Today I learned that we already have

[tw] Re: Recommendations for an ASCII to diagram plugin?

2018-03-01 Thread Stephan Hradek
*WOW* That's cool… But nothing I think I'm able to do. -- 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 this

Re: [tw] Re: Searchable database in a page

2018-02-27 Thread Stephan Hradek
Am Mittwoch, 28. Februar 2018 05:27:47 UTC+1 schrieb Michael Wiktowy: > > Stephan's contact example is awesome and I used it and reused it > everywhere for various database applications. > > Thanks! > So I have recently modified it into a macro that makes everything generic > as possible

[tw] Re: Searchable database in a page

2018-02-27 Thread Stephan Hradek
Just try to use TiddlyWiki. A tiddler can be a record of your database The title would be your unique key. The text could be a free form data field. You can add as many fields as you want. I once created a simple Contacs DB (tiddlystuff.tiddlyspot.com) which you can use as an example. Take

[tw] Re: Skeeve's Plugins Library is live

2018-02-25 Thread Stephan Hradek
Am Sonntag, 25. Februar 2018 20:59:35 UTC+1 schrieb Jed Carty: > > They do slightly different things, but I did make an action-increment > widget here: > Didn't know that one. Indeed. -they are slightly different. Yours is more flexible in regards to the steps. Mine just has the advantage

[tw] Skeeve's Plugins Library is live

2018-02-25 Thread Stephan Hradek
https://skeeve.github.io/tw5-plugins Currently you will find 3 plugins there: 1. documentation - which is required by the other 2 plugins 2. action-increment - which will, hopefully, help resolving issues with incrementing tiddler titles etc. 3. pick - which can be used to extract

[tw] Re: [TW5] enhance regexp or new filter "pick"

2018-02-24 Thread Stephan Hradek
Am Samstag, 24. Februar 2018 17:40:08 UTC+1 schrieb Mat: > > > What would you say - would your pick operator enable these things? > > I'm not sure as I'm missing context and examples for all your keywords. Anyhow: I intend to offer a plugin soon. So you can check yourself. -- You received

[tw] Re: How to concatenate < and a tiddler field value for use as a new tiddler title

2018-02-22 Thread Stephan Hradek
Am Donnerstag, 22. Februar 2018 17:20:55 UTC+1 schrieb Stephan Hradek: > > Can you test, what you attempted on tiddlywiki.com and post all the > tiddlers here so that I can see and aybe correct? > > For your previous example, it is an easy fix: > > Tiddler 1 fields: &

[tw] Re: How to concatenate < and a tiddler field value for use as a new tiddler title

2018-02-22 Thread Stephan Hradek
Can you test, what you attempted on tiddlywiki.com and post all the tiddlers here so that I can see and aybe correct? For your previous example, it is an easy fix: Tiddler 1 fields: > Title:hostTiddler > projectnumber:12345 > Text:{{||newProjectEntryPB}} > Tiddler 2 fields:

[tw] Re: How to concatenate < and a tiddler field value for use as a new tiddler title

2018-02-22 Thread Stephan Hradek
A quick & Dirty example. tiddler: New Button projecttitle (required field): "Project #1, -0MM-0DD 0hh:0mm:0ss" text: \define journalButton() <$button tooltip={{$:/language/Buttons/NewJournal/Hint}} aria-label={{$: /language/Buttons/NewJournal/Caption}} class=<>> <$action-sendmessage

[tw] Re: Broken with macro calls

2018-02-22 Thread Stephan Hradek
Why not let the macro return the full row? \define makerow(i) <> \end \define XXX() 1 <$list filter="[tag[ActionWidgets]]"> <$macrocall $name="makerow" i=<>/> -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from

[tw] Re: How to concatenate < and a tiddler field value for use as a new tiddler title

2018-02-22 Thread Stephan Hradek
Before taking too many steps and making it overly complicated: Have you thought about utiolising a Journal tiddler? -- 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

[tw] Re: [TW5] [Plugin] Sortan: For sorting alpha-numericals

2018-02-21 Thread Stephan Hradek
VERY COOL! I like it. Should be part of the core. -- 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 this group,

[tw] Re: A slider which closes itself when clicking elsewhere or closing tiddler

2018-02-21 Thread Stephan Hradek
I do not know, how far you followed my exampl, but an easy trick, with HTML5 enabled browser is: 1. instead of @.answer @ put around the answers answerhere 2. change the "hover" in the CSS to "focus" Now when you click on the anwer, it will get focus, and will be displayed. You will be

[tw] Re: How to build a tag list for comsuption by <$action-sendmessage $message="tm-new-tiddler" ... />?

2018-02-20 Thread Stephan Hradek
Do I understand correct, that the main question is, how to concatenate $:/state/project-number with the word "project"? Should it be one tag or 2? For concatenation you usually require a macro. Try this \define projecttags() project $(projectnumber)$ <$set name="projectnumber"

[tw] Re: A button to open a random tiddler

2018-02-20 Thread Stephan Hradek
Am Dienstag, 20. Februar 2018 13:37:54 UTC+1 schrieb Matthew Lauber: > > Dang! I go to sleep for 8 hour and your guys pick apart my code. > Seriously though, thanks guys. I'll take a look at improving the > randomness of my shuffle operator. I seem to recall not using the > javascript

[tw] Re: A button to open a random tiddler

2018-02-20 Thread Stephan Hradek
Am Dienstag, 20. Februar 2018 09:00:13 UTC+1 schrieb passingby: > > But i am seeing that it repeats one or two tiddler a lot. At first i > thought maybe my tiddlers were not enough in numbers but then i have around > 25 tiddlers and it still repeats a couple initial tiddlers it picks up, a >

[tw] Re: A button to open a random tiddler

2018-02-20 Thread Stephan Hradek
Hooray! Issue #1 is mine ;) https://github.com/mklauber/tiddly-shuffle/issues/1 -- 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

[tw] Re: A button to open a random tiddler

2018-02-20 Thread Stephan Hradek
Update: Upon inspecting the code a bit more: seed cannot be a multiple of pi + pi/2 as it's always a 32 bit integer. Still I think randomness of |sin| isn't the best. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this

[tw] Re: A button to open a random tiddler

2018-02-20 Thread Stephan Hradek
I think there is a big flaw in Matthew's code. Instead of using a real random function there is this code: Math.floor(Math.abs(Math.sin(seed++)) * currentIndex); There are 2 flaws here I think: 1. sin isn't very "random" 2. sin goes from 0 to 1. This will lead to a just shuffled element being

[tw] Re: Issue: Auto-Enumeration. I have no idea how.

2018-02-19 Thread Stephan Hradek
Am Montag, 19. Februar 2018 16:16:14 UTC+1 schrieb Riz: > > > - Performance: To correctly pad, say 1 or 00019 etc, you need to > do it like this for example: counter= ((("10"+counter)*1+1)+"").replace(/^10?/, "") Example run from webconsole: counter="007" "007" counter=

[tw] Re: Grouped list of data tiddlers

2018-02-19 Thread Stephan Hradek
Better use regexp to find the type <$list filter='[all[]]' variable=ThisTiddler> <$list filter='[indexes[]regexp[^type$]]'> <> It will solve the issue mentioned. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this

[tw] Re: [TW5] enhance regexp or new filter "pick"

2018-02-19 Thread Stephan Hradek
Am Mittwoch, 14. Februar 2018 15:06:00 UTC+1 schrieb @TiddlyTweeter: > > Ciao Stephen > > I don't understand the mechanics. But IF what you mean is that we could > extract (say) every web-address in text or fields in a whole TW to a list > I'm all for it. > Yes, we could. Rought idea, using

[tw] Re: stylesheet works on one TW but not another

2018-02-18 Thread Stephan Hradek
For issues like this it's good to "Inspect element" in FireFox to see which CSS rules apply to the element. That way you could find out.what's conflicting. You could also try to make either the style definition more specific or, as a last resort, add "!important" to the definition. -- You

[tw] Re: Issue: Auto-Enumeration. I have no idea how.

2018-02-16 Thread Stephan Hradek
If a bookmarklet is enough, here you go: javascript:var ta= document.activeElement.contentWindow.document. querySelector('textarea'); var numbers= new Object(); var number= /^(.*?)\s*#(\d+)$/; if(ta !== null && ta.tagName.toLowerCase() == 'textarea') { var content= JSON.parse(ta.value);

[tw] Re: Issue: Auto-Enumeration. I have no idea how.

2018-02-16 Thread Stephan Hradek
What I don't understand is your workflow. Where do you get the data from? How does it become a tiddler? How would you want to invoke the macro? Wouldn't it be sufficient to have a bookmarklet https://en.wikipedia.org/wiki/Bookmarklet to do the changes? -- You received this message because

[tw] Re: [TW5] enhance regexp or new filter "pick"

2018-02-12 Thread Stephan Hradek
Am Montag, 12. Februar 2018 17:24:48 UTC+1 schrieb PMario: > > Is it possible to have several capturing groups? > I think I found a good solution. 1. filter "pick:field[regexp]" Will pick every captured group as a new tiddler. If there is no group it acts exactly like regexp 2.

[tw] Re: [TW5] enhance regexp or new filter "pick"

2018-02-12 Thread Stephan Hradek
Am Montag, 12. Februar 2018 17:24:48 UTC+1 schrieb PMario: > > On Monday, February 12, 2018 at 2:38:49 PM UTC+1, Stephan Hradek wrote: >> >> Last Example >> <$list filter="[regexp:text[(?i)auf der \w+]]"/> >> >> will return "Exampletidd

[tw] Re: [TW5] enhance regexp or new filter "pick"

2018-02-12 Thread Stephan Hradek
I tried to follow https://tiddlywiki.com/dev/ in order to create a new filter module plugin, but I cannot even see (with console.log) that it is actually use :( What did I do wrong? $:/plugins/skeeve/filter-pick { "tiddlers": { "$:/plugins/skeeve/filter-pick/pick.js": {

[tw] Re: [TW5] enhance regexp or new filter "pick"

2018-02-12 Thread Stephan Hradek
Am Montag, 12. Februar 2018 11:36:42 UTC+1 schrieb PMario: > > > There is a second PR: https://github.com/Jermolene/TiddlyWiki5/pull/2963 > which may be similar. ... +1 this one too! > > Especially that one looks pretty similar to my code, but seems to do something differently. Haven't

[tw] [TW5] enhance regexp or new filter "pick"

2018-02-12 Thread Stephan Hradek
Hi! I wanted to create a new filter called "pick" which is exactly like regexp, except that it "picks out" the matched parts instead of finding matching tiddlers. Motivation behind this is: I have some tiddlers containing links to github and I wanted to pull out all these links. As I failed

[tw] Re: [TW5] How to save with Firefox Quantum - WebDAV

2017-11-17 Thread Stephan Hradek
Am Freitag, 17. November 2017 12:46:45 UTC+1 schrieb PMario: > > > There is no need to click on the diamond. That's just the configuration > UI. Everything else is almost like TiddlyFox. > > Have a look at the video: https://youtu.be/dt-nH9jSQ6c > > I should have done that earlier. So note

[tw] [TW5] How to save with Firefox Quantum - WebDAV

2017-11-17 Thread Stephan Hradek
I got a new computer at work and quickly installed Firefox. Of course it was Quantum and now TiddlyFox doesn't work anymore. I looked at https://tiddlywiki.com/#GettingStarted:GettingStarted to find alternatives. While I think Mario's file-backup is quite good, I didn't like that I have to

[tw] [TW5] Macro Question: Is there an easier way to achieve this?

2017-10-11 Thread Stephan Hradek
Hi! I am in need for something that gives me, given a path, just the filename part of it. Of course I could use a JavaScript Macro, but I do not like the overhead. The TW5 standard list operators do not give me much useful for splitting a string, Just the "splitbefore". But after some

Re: [tw] Re: Best "equal" operator?

2017-09-09 Thread Stephan Hradek
What's wrong with <$reveal state="mytiddler!!myfield" type="match" text="foo" > value is foo <$reveal state="mytiddler!!myfield" type="nomatch" text="foo" default="foo"> value is not foo -- You received this message because you are subscribed to the Google Groups

[tw] Re: Is there a consistent guide on how to modify different parts of the interface of the wiki?

2017-08-30 Thread Stephan Hradek
Am Mittwoch, 30. August 2017 19:50:48 UTC+2 schrieb Ton Gerner: > > Hi Vayu, > > Maybe this can help you: http://tw5custom.tiddlyspot.com/ > > Cool. Looks extremly useful. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this

[tw] Re: Suggestions for future features

2017-08-30 Thread Stephan Hradek
Am Mittwoch, 30. August 2017 16:13:11 UTC+2 schrieb Mark S.: > > What's <> ? > > I'm wondering myself ;) Honestly: Can't remember why I thought it was <>. I once created a "snapshot button" for my menu. It's a tiddler called "Print" looking like this: <$button message="tm-download-file"

[tw] Re: Suggestions for future features

2017-08-30 Thread Stephan Hradek
Am Mittwoch, 30. August 2017 04:02:40 UTC+2 schrieb Kathir J: > > Having tags for each document (Reference: https://collatenotes.com/) > It would be much nicer to give a use case than just posting a link. What's a "document" for you? A tiddlywiki file? Are you sure you did explore everything

[tw] Re: [TW5] timeline macro & days filter - I don't get it.

2017-08-30 Thread Stephan Hradek
Am Dienstag, 29. August 2017 16:41:03 UTC+2 schrieb Mark S.: > > > The "days" operator was added at version 5.1.10. > > Thanks Mark! I was a bit reluctant to upgrading but thanks to the wonderful work of Jeremy it was really flawless. -- You received this message because you are subscribed

[tw] Re: [TW5] timeline macro & days filter - I don't get it.

2017-08-29 Thread Stephan Hradek
Could it be my TiddlyWiki is too old? 5.1.9. -- 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 this group, send

[tw] [TW5] timeline macro & days filter - I don't get it.

2017-08-29 Thread Stephan Hradek
Can someone please enlighten me about how to use the timeline macro properly? I understood that [!days:modified[-14]] would give me all tiddlers modified more than 14 days ago should be selected. So I used <> but get results from today and also 8 days ago. Is my understanding wrong? --

Re: [tw] Re: Best "equal" operator?

2017-08-29 Thread Stephan Hradek
Am Montag, 28. August 2017 23:44:51 UTC+2 schrieb Thomas Elmiger: > > > @Stephan, do you suggest it would be better to use the reveal widget? > > No, I'm just wondering whether it might work. I'm yet to completely understand the use case. -- You received this message because you are

[tw] Re: Best "equal" operator?

2017-08-28 Thread Stephan Hradek
Am Montag, 28. August 2017 15:13:42 UTC+2 schrieb Mat: > > Thank you guys! As noted, the need is for it to be used inside a filter > And you cannot put the "equal" outside the filter to use reveal? -- You received this message because you are subscribed to the Google Groups "TiddlyWiki"

  1   2   3   4   5   6   7   8   9   10   >