[tw5] Re: Macro question

2019-07-16 Thread 'Mark S.' via TiddlyWiki
Squeeze every bit of white space out of the macro after <>, like: \define date-str(date) <$list filter="[[$date$]splitbefore[-]]" variable=x > <$list filter="[[$date$]removeprefixsplitbefore[-]removesuffix[-]]" variable=m> <$list filter="[[data-months]getindex]" variable="mname"> <$list

[tw5] Re: Polly (2) -- Downloads as HUB

2019-07-16 Thread 'Mark S.' via TiddlyWiki
That's not the one we sold you. It's not the real Macaw. On Tuesday, July 16, 2019 at 11:59:06 AM UTC-7, @TiddlyTweeter wrote: > > I want to COMPLAIN > > My parrot is dead. Its a late parrot. Its joined the choir invisible. > > Where can i get my money back? > >

[tw5] Re: Polly (2) -- Downloads as HUB

2019-07-16 Thread 'Mark S.' via TiddlyWiki
Original Edge is a bit of a non-starter for me with TIddlyWiki. It won't read/write HTML files on a networked drive! Or at least on my drive. I found lots of references to this problem, but no solutions. It has something to do with over-the-top security. None of the other browsers, including IE

[tw5] Re: Polly (2) -- Downloads as HUB

2019-07-16 Thread 'Mark S.' via TiddlyWiki
Hi TT, You're going to write an entire setup wizard in PS ? For documentation, if you're going to have diagrams, you could launch a TiddlyWiki file with the default browser. I suppose it could be used for setup too. On Monday, July 15, 2019 at 11:10:08 PM UTC-7, @TiddlyTweeter wrote: > > Ciao

Re: [tw5] Re: Is there a filter to find links in other fields than text

2019-07-16 Thread 'Mark S.' via TiddlyWiki
Do you mean *Jan's* macro? On Tuesday, July 16, 2019 at 4:27:50 AM UTC-7, Mat wrote: > > Mark, I have a strong feeling your macro will be very useful for me. > Would you mind documenting it a little in the "Information about this > macro" part (what it does, how to use)? > And might it be

[tw5] Re: Polly (2) -- Downloads as HUB

2019-07-15 Thread 'Mark S.' via TiddlyWiki
Oops. I see I left in a lot of debugging messages. They'll have to come out in the next go-around. On Monday, July 15, 2019 at 6:18:23 PM UTC-7, Mark S. wrote: > > polly-01i-MS.zip > > > https://drive.google.com/file/d/1P03hvjOEmzbBQPKpEdAhiNU_SCueuYX7/view?usp=sharing > > * Added "parrots" > *

[tw5] Re: Polly (2) -- Downloads as HUB

2019-07-15 Thread 'Mark S.' via TiddlyWiki
polly-01i-MS.zip https://drive.google.com/file/d/1P03hvjOEmzbBQPKpEdAhiNU_SCueuYX7/view?usp=sharing * Added "parrots" * Added more to polly.txt, but still very incomplete Barely tested, so be careful out there! On Saturday, July 13, 2019 at 12:47:23 PM UTC-7, @TiddlyTweeter wrote: > > Ciao

Re: [tw5] Re: Is there a filter to find links in other fields than text

2019-07-15 Thread 'Mark S.' via TiddlyWiki
> \end > \define rollen() > <$wikify name=rollo text=<> output="text"> > <$list filter=<> > > {{!!title}} > > > \end > > How can I handle that? > > Jan > > > > > Am 15.07.2019 um 16:51 schrieb 'Mark S.' via Tidd

[tw5] Re: Macro for colored table cells

2019-07-15 Thread 'Mark S.' via TiddlyWiki
It's unclear how you're putting the pieces together, but the macro has to be defined at the top of the tiddler. This seems to work: \define pos() + /* compensating the cell padding */ .cell { margin:-1px -7px; padding:1px 7px; } .positive { background-color:#afa; } .negative {

Re: [tw5] Re: Is there a filter to find links in other fields than text

2019-07-15 Thread 'Mark S.' via TiddlyWiki
With the reg expression text previously mentioned, and the regexps (reg expression string extractor) in PR 2963 it should be possible to extract links designated with [[ and ]] . On Monday, July 15, 2019 at 4:06:31 AM UTC-7, Jan wrote: > >

Re: [tw5] Re: Is there a filter to find links in other fields than text

2019-07-14 Thread 'Mark S.' via TiddlyWiki
You need to put your expression in a separate variable: <$vars reg="(?g)\[\[.*?\]\]"> <$list filter="[!is[system]regexp:myfield]"/> I tested using field "myfield". I was surprised to find that there actually is a matching field at tiddlywiki.com. Note that the regexp filter has its own

[tw5] Re: Checkbox issue with Uncheckactions Parameter

2019-07-13 Thread 'Mark S.' via TiddlyWiki
Without going over the code in detail, keep in mind that the "action" attribute gets run both when the box is checked AND when it is unchecked. You may have to wrap your action code in a list or reveal widget to prevent "actions" from occurring during uncheck. My apologies if you have already

[tw5] Re: Polly (2) -- Downloads as HUB

2019-07-13 Thread 'Mark S.' via TiddlyWiki
https://drive.google.com/file/d/1lIORd9f_qpVqt-WZAEsdedvLLRFIIFGy/view?usp=sharing polly-01h-MS.zip * Adds suppression to flashed zip archive * Adds date-stamped backup to specified backup directory (different from zip archive) * Adds new entry in INI for backups * Adds an archive directory in

Re: [tw5] Re: Weirdest problem ever - feature request to the Gurus

2019-07-12 Thread 'Mark S.' via TiddlyWiki
have the right selectors with the magenta, and according to >>> Chrome's explorer, I think I do, but still not working. This is a tiddler >>> tagged with $:/tags/Stylesheet. >>> >>> html button .tc-fold-banner { >>> background=color: magenta;

Re: [tw5] Re: Weirdest problem ever - feature request to the Gurus

2019-07-12 Thread 'Mark S.' via TiddlyWiki
Looks like classes tc-unfold-banner and tc-fold-banner might be what you want. On Friday, July 12, 2019 at 12:17:23 PM UTC-7, Aidan Grey wrote: > > Jeremy, > > Is there a tiddler or class or something for the fold-bar? I'd like to add > some styling (i.e. color) to it, and I'm not having any

[tw5] Re: Query -- Are we neglecting "Restore" from default "Download Saves"?

2019-07-12 Thread 'Mark S.' via TiddlyWiki
Ok. The message will be suppressed in version "h". Here's what I'm thinking of for collections. There will be a section in the ini file like [collections] c:\temp\activities\contacts.html c:\users\joe\dropbox\activities\contacts.html c:\users\joe\dropbox\personal\medical.html When the system

[tw5] Re: Query -- Are we neglecting "Restore" from default "Download Saves"?

2019-07-12 Thread 'Mark S.' via TiddlyWiki
That's interesting! Unexpected that 5.1 is end-of-the-road. Offering another script technology to Linux users is like, how do you say it, "carrying coals to Newcastle" ? On Friday, July 12, 2019 at 3:56:59 AM UTC-7, @TiddlyTweeter wrote: > > Mark S. wrote: >> >> TT: When its a big further on I

Re: [tw5] Re: JS-Macro to transclude the input of a field with regex-replacements.

2019-07-11 Thread 'Mark S.' via TiddlyWiki
]. > > Sorry for the difficulites to express this correctly. > I fear that this markup is already parsed when inserting the text with > {{!!dialogue}}-field so that it actually does not find any /n or[[. > > Thanks! > > > > Am 11.07.2019 um 22:23 schrieb 'Mark S.' via

[tw5] Re: Query -- Are we neglecting "Restore" from default "Download Saves"?

2019-07-11 Thread 'Mark S.' via TiddlyWiki
polly-01g-MS https://drive.google.com/file/d/1Y4FDyzz5I6QKTNFQhmyXMUgNYQUtRYwC/view?usp=sharing * Added backup to a date-stamped zip file if a backup zip directory is specified. There's a new INI setting that allows this. * Found remaining ninelives variable and switched it to new version

[tw5] Re: JS-Macro to transclude the input of a field with regex-replacements.

2019-07-11 Thread 'Mark S.' via TiddlyWiki
You seem to have wrapped the function in another function. This seems to "work" /*\ title: $:/core/modules/macros/Dialogue.js type: application/javascript module-type: macro Making some replacements in Textinputs \*/ (function(){ /*jslint node: true, browser: true */ /*global $tw: false

[tw5] Re: Query -- Are we neglecting "Restore" from default "Download Saves"?

2019-07-11 Thread 'Mark S.' via TiddlyWiki
Hello TT On Thursday, July 11, 2019 at 11:32:31 AM UTC-7, @TiddlyTweeter wrote: > > > Rather than have to have a browser open and an actual wiki you manually > save I am using a Powershell zombie "touch" function to auto-create and > update pseudo-wiki files in the downloads folder at regular

[tw5] Re: Query -- Are we neglecting "Restore" from default "Download Saves"?

2019-07-11 Thread 'Mark S.' via TiddlyWiki
I think if you right-click on the zip file and look at the properties you can unblock the zip file. Then everything that unzips from it will also be unblocked. I think. So just one unblock action required. What do you mean by "auto creation of downloads" ? I was vaguely thinking of working on

[tw5] Re: Weirdest problem ever

2019-07-11 Thread 'Mark S.' via TiddlyWiki
It looks like you may have folded your tiddler. Click on the down arrow and select to unfold it. On Thursday, July 11, 2019 at 7:18:57 AM UTC-7, Aidan Grey wrote: > > I am using a TW for a language dictionary, and have a TOC set up mostly > like you'd think: Every initial letter has a tiddler,

[tw5] Re: How to make checkboxes persistant in a table.

2019-07-10 Thread 'Mark S.' via TiddlyWiki
Use the checkbox widget (https://tiddlywiki.com/#CheckboxWidget) and, perhaps, set each box to a field in your tiddler. Something like: <$checkbox field="w1-a" checked="done" unchecked="undone"/> ... <$checkbox field="w1-b" checked="done" unchecked="undone"/> etc. The problem with this

Re: [tw5] Re: [Thought] A difficult Logical Problem...

2019-07-10 Thread 'Mark S.' via TiddlyWiki
Are we talking about modeling relationships, or about portraying them? Relational databases can model just about anything with a regular, defined structure. And TW, in turn, can model anything in a relational database, albeit without the tools that prevent conflicts that real relational

[tw5] Re: fields operator and macro parameter

2019-07-09 Thread 'Mark S.' via TiddlyWiki
You're going to laugh ... <> On Tuesday, July 9, 2019 at 8:57:39 PM UTC-7, Mohammad wrote: > > Why fields operator in the below code does not work > > > \define mac1(tid) > <$list filter="[<__tid__>fields[]]" variable="fld"> > <$text text=<> /> > > > \end > > <> > > > Where tesTid is > > >

[tw5] Re: Filter using tags

2019-07-09 Thread 'Mark S.' via TiddlyWiki
The problem is that you have a separate list widget for every possibility. You can include more than one filter run in a filter expression (look for "filter run" on TiddlyWiki.com). Here's how you combine two of your tags: <$list filter="[is[current]tag[ImgDoug]] [is[current]tag[ImgGrey]]">

[tw5] Re: Filtering using field content

2019-07-09 Thread 'Mark S.' via TiddlyWiki
As described, it seems like you want something like: <$list filter="[field:section[Academic Support Services]]"> But that seems too simple. So perhaps an example of what kind of listings/outputs your are expecting would be helpful. Looking through your handbook, it seems there is some broken

[tw5] Re: Apply a multi part filter to a list - how?

2019-07-08 Thread 'Mark S.' via TiddlyWiki
Your nested filter loops should work. The outer part will pick out all the candidates. The inner will compare the full list against the candidate and print if there's a match. There might be a double output if something has both a suffix berry and is tagged tasty. You could do it as one

[tw5] Re: Query -- Are we neglecting "Restore" from default "Download Saves"?

2019-07-08 Thread 'Mark S.' via TiddlyWiki
Actually, I think Windows 7 ships with Powershell 2. So I must have already run some updates. It gets worse. You can have the same version of Powershell but on Windows 7 some of the commands may not do anything because the framework code doesn't allow it (I don't recall which command ...

[tw5] Re: Query -- Are we neglecting "Restore" from default "Download Saves"?

2019-07-08 Thread 'Mark S.' via TiddlyWiki
I'm a little vague about about the difference between #2 and #3. Are parrots where you come from not obsessed by crackers? Just in time, today's Bizarro: https://www.comicskingdom.com/shared_comics/1f60f89b-82b8-4f30-98da-731f073d7007 On Monday, July 8, 2019 at 4:49:01 AM UTC-7,

[tw5] Re: Query -- Are we neglecting "Restore" from default "Download Saves"?

2019-07-07 Thread 'Mark S.' via TiddlyWiki
https://drive.google.com/file/d/1O_9-kv_o_VH6_V5ElrEgMJSxbx_4OqUF/view?usp=sharing This is version polly-01f-MS. Changes: * A fix to Get-IniContent that was causing it to read commented files as active files. * A change to menu item "T" (show tiddlers from wikidirectory) simplifying the code

[tw5] Re: [TW5] Multiple sorts of filtered tiddler list

2019-07-07 Thread 'Mark S.' via TiddlyWiki
Without having a sample of your data, it's hard to know. However, in (B) the second has to go below . Where it is now it will do nothing. Once you've moved it, it should sort by pord (numbers) first, and then inside of that grouping by titles. Good luck! On Sunday, July 7, 2019 at 3:56:33

[tw5] Re: [TW5] Multiple sorts of filtered tiddler list

2019-07-07 Thread 'Mark S.' via TiddlyWiki
There's a lot that's unclear here. What kind of value is "pord" ? It should be numeric, since you're doing a numeric sort. But I don't see "pord" used in your output. If you want your table rows to follow the result of the inner list, then you have to take out the / AND put a second after the

[tw5] Re: [TW5] Multiple sorts of filtered tiddler list

2019-07-07 Thread 'Mark S.' via TiddlyWiki
I don't think sort[middlename]sort[givenname] can be depended on to sort correctly. It might work occasionally , depending on your browser implementation. I think for a reliable sort you have to use multiple list widgets, each nesting the inner one as shown in the original discussion. My

[tw5] Re: Query -- Are we neglecting "Restore" from default "Download Saves"?

2019-07-06 Thread 'Mark S.' via TiddlyWiki
It appears that once you have unblocked a file, and then zipped it up, when you unzip it again it is still unblocked. Or at least preliminary results suggest that. So only "super-users" need to worry about running the permissions unblock script (or the same thing, right clicking on files and

[tw5] Re: Filter to show Tiddlers who just have the tag notes (and no other one).

2019-07-06 Thread 'Mark S.' via TiddlyWiki
Here's an example using "HelloThere" on tiddlywiki.com : <$list filter="[tag[HelloThere]]-[tag[HelloThere]tags[]!field:title[HelloThere]tagging[]]"> On Saturday, July 6, 2019 at 3:00:22 PM UTC-7, Jan wrote: > > Hello, > I do not know, wheter the question is too simple, but I have tried

[tw5] Re: Query -- Are we neglecting "Restore" from default "Download Saves"?

2019-07-06 Thread 'Mark S.' via TiddlyWiki
Ok, I upgraded to 5.1 and now am seeing what you see. Probably everyone who gets forced to upgrade to Win 10 will have 5.1+ automatically. I always like to lag behind on upgrades in case something disastrous happens. Thanks! On Saturday, July 6, 2019 at 11:09:37 AM UTC-7, @TiddlyTweeter

[tw5] Re: Query -- Are we neglecting "Restore" from default "Download Saves"?

2019-07-06 Thread 'Mark S.' via TiddlyWiki
PS 4. On Saturday, July 6, 2019 at 10:57:40 AM UTC-7, @TiddlyTweeter wrote: > > What version of Powershell are you on? I need rule out that is an issue, I > think. > > J. > > On Saturday, 6 July 2019 19:18:19 UTC+2, Mark S. wrote: >> >> >> Gasp! Can't ... catch ... up ... >> >> Of course I made

[tw5] Re: The Future of Large Tiddlywikis

2019-07-06 Thread 'Mark S.' via TiddlyWiki
What are the performance issues you are encountering? I'm a touch typist, but I could only get about two words ahead when typing. But according to your blog, if it's not fiction, you use typewriter for creating content, so typing shouldn't be a big deal. It does take about 7 seconds to save

[tw5] Re: Query -- Are we neglecting "Restore" from default "Download Saves"?

2019-07-06 Thread 'Mark S.' via TiddlyWiki
Gasp! Can't ... catch ... up ... Of course I made the mistake of running your script from the app directory. ;-) When running the script, after it lists the ps1 file, it dumps you at a prompt that looks like the powershell prompt. You think the script is done, but it's not. So, it seems to

[tw5] Re: Query -- Are we neglecting "Restore" from default "Download Saves"?

2019-07-06 Thread 'Mark S.' via TiddlyWiki
Just be sure everything is launching OK. The original library code bizarrely sent the comments back to the calling script. This would have called for a lot of additional complexity back in the script and forced a naming convention, so I took that part out. Thanks! On Saturday, July 6, 2019

[tw5] Re: Query -- Are we neglecting "Restore" from default "Download Saves"?

2019-07-06 Thread 'Mark S.' via TiddlyWiki
What are you seeing when you run the scripts? When I run the scripts, I have to give it permission twice -- once for the outer script and once for the library. Thanks! On Saturday, July 6, 2019 at 5:54:32 AM UTC-7, @TiddlyTweeter wrote: > > Hi Mark S. > > TX! Looking forward to it! > >

[tw5] Re: Query -- Are we neglecting "Restore" from default "Download Saves"?

2019-07-06 Thread 'Mark S.' via TiddlyWiki
So Gmail doesn't like the bat files, but it was just fine with powershell files. Maybe next time I'll try encryption. Meanwhile, here's the file https://drive.google.com/file/d/1LJec-aT8H5ZV-bSNS1pkjuohICr4XEL_/view?usp=sharing -- You received this message because you are subscribed to the

[tw5] Re: The Future of Large Tiddlywikis

2019-07-05 Thread 'Mark S.' via TiddlyWiki
Have you tried the 5.1.20 prerelease ? It's supposed to have indexing optimizations that will allow larger TW files. If so, it will be a real game changer. Good luck On Friday, July 5, 2019 at 8:00:00 PM UTC-7, h0p3 wrote: > > What does the future hold for large Tiddlywikis? What can I do

[tw5] Re: Query -- Are we neglecting "Restore" from default "Download Saves"?

2019-07-05 Thread 'Mark S.' via TiddlyWiki
Note: I can't attach the zip file at the moment. I'll have to find some other mechanism if G doesn't change its ways. Very strange, since I was able to attach a zip just 2 days ago. Hi TT, Changes I made: * Made the batch files refer to "shim.bat" so we only have to refer to the PS script by

[tw5] Re: Creating and Selling Software Tools based on Tiddlywiki

2019-07-05 Thread 'Mark S.' via TiddlyWiki
A vertical market application for the desktop is unlikely. But I can imagine a wrapper kit for Android that would allow any mobile-themed TW to be turned into an application. The problem is, there are just so many apps already. But if some small family business wanted to make an a Menu app

[tw5] Re: Manipulating lists with select multiple

2019-07-04 Thread 'Mark S.' via TiddlyWiki
That's how I understand it, but I don't claim to be an expert. Good luck! On Thursday, July 4, 2019 at 12:01:57 AM UTC-7, TonyM wrote: > > Mark. > > So is it true to say in the subfilter if you place the - in front of a > title OR filter that it is those titles it will remove if tgey exist

[tw5] Re: Manipulating lists with select multiple

2019-07-03 Thread 'Mark S.' via TiddlyWiki
Yes, the subfilter works differently than a plain filter, because the filter is being applied as though the original title list preceded it. On Wednesday, July 3, 2019 at 7:32:41 PM UTC-7, TonyM wrote: > > Mark/Mat, > > Do I take it then that > > $subfilter="[list[!!temp-select-users]]" adds

[tw5] Re: Manipulating lists with select multiple

2019-07-03 Thread 'Mark S.' via TiddlyWiki
Something like Mat had, but since you have an actual list field, and not a text field, perhaps: <$button>Move right <$action-listops $field="office-consultants-list" $subfilter="[list[!!temp-select-users]]" /> <$action-listops $field="temp-select-users" $filter="[[]]"/> <$button>Move left

[tw5] Re: Image visability and user-friendliness

2019-07-03 Thread 'Mark S.' via TiddlyWiki
You omitted that you also have to save an image file to .\images and copy the name. It's a lot of steps, especially compared with other products like Evernote. Dragging and dropping the images, would be the most straight-forward approach, and, if I understand correctly, should be feasible with

[tw5] Re: Is there any way to easily highlight the text of html articles in tiddlywiki?

2019-07-03 Thread 'Mark S.' via TiddlyWiki
I believe you can use the visual editor: http://bjtools.tiddlyspot.com/#VisualEditor to edit HTML. On Wednesday, July 3, 2019 at 7:53:21 AM UTC-7, kat wrote: > > I am trying to use TiddlyWiki to replace Evernote as a way of archiving > web articles to read later. I am mostly just copying the

[tw5] Re: Image visability and user-friendliness

2019-07-02 Thread 'Mark S.' via TiddlyWiki
You can drag and drop images into your TW (at least on Firefox ... don't know about the others). On Firefox, you can also use the built-in screen shot tool and copy the text to the clipboard. Then go to your TW and paste. Import. Rename. These methods are easy, but in the past they came with

[tw5] Re: How to return only the first value in field with multiple values?

2019-07-02 Thread 'Mark S.' via TiddlyWiki
I'm not sure what you mean by "return", but in a list filter you could have <$list filter="[enlist{!!dates}nth[1]]"/> Where "dates" is a field containing your date items. This will only work if your dates are in a format that does not contain space (e.g. something like 2016-02-02) Good luck

[tw5] Re: Any good way to see if one version is higher than another?

2019-07-02 Thread 'Mark S.' via TiddlyWiki
I can see how you can do it with two filter loops, and a slight cheat. Maybe two cheats. The first cheat is that for most revisions, only the last part of the dotted notation is significant (e.g. 5.1.*20 -- *only the last dotted number has change for the last 4 (?) years). The 2nd cheat is

[tw5] Re: Query -- Are we neglecting "Restore" from default "Download Saves"?

2019-07-01 Thread 'Mark S.' via TiddlyWiki
The attached is just to indicate that some progress is being made. The zip file has the PS file, the support library file, and the ini file. There's lots of stuff that needs to be tweaked, especially capturing the error messages -- maybe tomorrow? There's an S option on the menu that I used for

Re: [tw5] Re: Installing TW5Bob.exe nightmare

2019-07-01 Thread 'Mark S.' via TiddlyWiki
It might help to show your configuration file (either settings.json or copy/paste from the Bob server tab). You're not alone -- I had to struggle to get Bob to serve up my existing Wikis. The configuration file is frustrating, because you will make a change, and when you reload, it shows you

Re: [tw5] Re: Installing TW5Bob.exe nightmare

2019-06-30 Thread 'Mark S.' via TiddlyWiki
rote: > >> I made the changes manually, and closed the terminal. I reopen bobexe and >> I get the same old page without the changes I made. >> >> O >> >> On Sun, Jun 30, 2019 at 4:48 PM 'Mark S.' via TiddlyWiki < >> tiddl...@googlegroups.com > w

[tw5] Re: Query -- Are we neglecting "Restore" from default "Download Saves"?

2019-06-30 Thread 'Mark S.' via TiddlyWiki
So, thinking new tw_nine_lives.ini would look like: [wikis] file1=D:\data\Wikis\notes\notes.html file2=D:\data\TW2014\Todo.html [general] ; --- DOWNLOADS DIRECTORY: where browser downloads go ; Example path is the usual Windows location downloaddir = "C:\Users\mark\Downloads" ; --- WIKIS

[tw5] Re: Query -- Are we neglecting "Restore" from default "Download Saves"?

2019-06-30 Thread 'Mark S.' via TiddlyWiki
Hi TT , Posting here so you won't think I've dropped off the edge of the earth. Yet. Your code looks really good! You've obviously spent a lot of time putting things together. The only thing that needed changing was the "publisher" (matching set) quote marks that you used around the title. The

[tw5] Re: Installing TW5Bob.exe nightmare

2019-06-30 Thread 'Mark S.' via TiddlyWiki
How are you changing the 0.0.0.0 setting? I've never had any luck clicking on the button offered to you on the Hello tiddler. You might try changing the settings under the "server" tab. Also, close out/ reopen Bob after making changes. AFAIK reloading the tab isn't good enough, at least on

[tw5] Re: How to change the size of videos embedded with '_canonical_uri'?

2019-06-29 Thread 'Mark S.' via TiddlyWiki
This works: where url is the field containing the path to your video. On Saturday, June 29, 2019 at 8:23:24 AM UTC-7, Ed wrote: > > > have you tried >> >> field - uri = videos/test.mp4 -- no quotes >> >> >> >> I can't remember if quotes around a variable transclusion witll work or >> not

[tw5] Re: datauri macro and SVG images

2019-06-28 Thread 'Mark S.' via TiddlyWiki
I don't know about the tool. But it worked with "settings.svg" from https://www.flaticon.com/free-icon/settings_126472 On Friday, June 28, 2019 at 9:34:35 PM UTC-7, Mohammad wrote: > > Mark, > I use the tool at https://jakearchibald.github.io/svgomg/ > > as advised by PMario to remove extra

[tw5] Re: datauri macro and SVG images

2019-06-28 Thread 'Mark S.' via TiddlyWiki
If you hack settings.svg to remove everything except the svg tag (e.g. remove ) then it will work. On Friday, June 28, 2019 at 11:37:00 AM UTC-7, Mohammad wrote: > > Meanwhile I found the below page > > https://websemantics.uk/tools/svg-to-background-image-conversion/ > > to convert the svg as

[tw5] Re: CSV Import

2019-06-27 Thread 'Mark S.' via TiddlyWiki
I've been down this road. Consider whether you actually need a template. You could just add whatever additional fields/lists you need from tm-new-tiddler. You could even iterate over the fields in your template tiddler and add them from there. On Thursday, June 27, 2019 at 5:42:07 PM UTC-7,

[tw5] Re: CSV Import

2019-06-27 Thread 'Mark S.' via TiddlyWiki
Glad I could help ;-) On Thursday, June 27, 2019 at 4:53:27 PM UTC-7, TonyM wrote: > > Mark > > I had changed to use the filter on the set statements > <$set name=person-tiddler > filter="[<__row__>splitbefore[:]removesuffix[:]]" > > <$set name=first-name filter="[<__row__>split[,]nth[2]]" > >

[tw5] Re: CSV Import

2019-06-27 Thread 'Mark S.' via TiddlyWiki
In my test, I'm using a pound sign (#) as the eol. On Thursday, June 27, 2019 at 4:34:14 PM UTC-7, Mark S. wrote: > > I don't know why your approach didn't work, but switching > > [$row$] > > to > > <__row__> > > Seems to fix it. > > It seems like it must be caching [$row$] inside of the triple

[tw5] Re: CSV Import

2019-06-27 Thread 'Mark S.' via TiddlyWiki
I don't know why your approach didn't work, but switching [$row$] to <__row__> Seems to fix it. It seems like it must be caching [$row$] inside of the triple bracket transclusion. On Thursday, June 27, 2019 at 3:41:07 PM UTC-7, TonyM wrote: > > Mark, > > Thanks, I am using the prerelease

[tw5] Re: CSV Import

2019-06-27 Thread 'Mark S.' via TiddlyWiki
Where is coming from? On Thursday, June 27, 2019 at 3:41:07 PM UTC-7, TonyM wrote: > > Mark, > > Thanks, I am using the prerelease and split operator already. After a > nights sleep I tried to take another approach and there is clearly > something I do not understand. > > Here is what I am

[tw5] Re: create a button that mimics the behaviour of "Create a new tiddler tagged with this one"

2019-06-27 Thread 'Mark S.' via TiddlyWiki
Try <$vars pre="[[" suf="]]"> <$button>New tiddler <$action-sendmessage $message="tm-new-tiddler" text='<$transclude tiddler="$:/category">' tags={{{ [addprefixaddsuffix] }}} /> On Thursday, June 27, 2019 at 2:54:29 PM UTC-7, Ankit Mittal wrote: > > Hi, > > I am trying to create a button

Re: [tw5] Re: Tree Macro built in core

2019-06-27 Thread 'Mark S.' via TiddlyWiki
You can try this change to tree-node2, which may work as long AS you don't have any entries ending in "XXX" or "YYY". (these are end-of-title markers, which could be made more obscure if necessary). \define tree-node2(prefix,separator: "/") <$list

[tw5] Re: CSV Import

2019-06-27 Thread 'Mark S.' via TiddlyWiki
Hi Tony, The 5.1.20 prerelease has new split operators. You could make your CSV tiddler a data tiddler as you suggested. Navigate through all the indexes, and split the line by the comma. Obviously this will fail if you have any embedded commas, but it should work with "regular" data. --

Re: [tw5] Re: Supressing mysterious/all errormessages (on Firefox mobile) (Feature request?)

2019-06-27 Thread 'Mark S.' via TiddlyWiki
f it is > working. > > Jan > > > Am 26.06.2019 um 15:50 schrieb 'Mark S.' via TiddlyWiki: > > I've noticed that FF on mobile (Android) creates a "hybrid" in memory of > your current and previous revision of a TW document (it probably happens > with other web page

Re: [tw5] Re: Yet another how to question

2019-06-26 Thread 'Mark S.' via TiddlyWiki
the tiddler is $:/.giffmex/template/new.tiddler > > Thanks, > > David Gifford > Mexico team leader, Mexico City > > *Resonate Global Mission* > *Engaging People. Embracing Christ.* > A Ministry of the Christian Reformed Church > resonateglobalmission.org > > &

[tw5] Re: Yet another how to question

2019-06-26 Thread 'Mark S.' via TiddlyWiki
Your first post said you wanted to grab the text of an existing tiddler and put it into the text of another tiddler. But I don't understand in your example what tiddler will be providing the text. On Wednesday, June 26, 2019 at 9:16:58 AM UTC-7, David Gifford wrote: > > Thanks Mark, but here

[tw5] Re: Yet another how to question

2019-06-26 Thread 'Mark S.' via TiddlyWiki
This is probably simpler than what you want but technically works: <$button>Set Contents of target tiddler from text of Tiddler B <$action-setfield $tiddler="target tiddler" text={{B!!text}}/> If "target tiddler" doesn't exist it will be made. On Wednesday, June 26, 2019 at 9:01:11 AM UTC-7,

[tw5] Re: Supressing mysterious/all errormessages (on Firefox mobile) (Feature request?)

2019-06-26 Thread 'Mark S.' via TiddlyWiki
I've noticed that FF on mobile (Android) creates a "hybrid" in memory of your current and previous revision of a TW document (it probably happens with other web pages too, but is more noticeable with TW). If you reload your page does the message go away? Another experiment is to go into the

[tw5] Re: Query -- Are we neglecting "Restore" from default "Download Saves"?

2019-06-25 Thread 'Mark S.' via TiddlyWiki
I like what you're doing with the scripts, TT -- Your batch script is really neat and organized. I had forgotten that crazy way that windows batch scripts use errors to make choices. Re your ps script, I don't see where "downloaddir" gets used -- am I missing something? Re the woofs, I had

[tw5] Re: How to create input field sliders? (HTML code provided)

2019-06-23 Thread 'Mark S.' via TiddlyWiki
Because of the way TW renders, changing a field of a tiddler that you are already in will not be smooth. But if you put <$range field="range1" min="1" max="100" default="1" increment="1"/> <$view field="range1"> (notice the fix on the view widget) into a tiddler and tag it as

[tw5] Re: RFC TiddlyWiki Bookcase - A new server/saver/manager for TiddlyWikis

2019-06-22 Thread 'Mark S.' via TiddlyWiki
On Windows 10 I consistently get errors relating to the tw-bookcase socket. It also can't seem to find tiddlywiki plugins. If it did work, how would you mount more than one wiki? There's nothing the readme that explains that part. Thanks! On Saturday, June 22, 2019 at 1:52:13 PM UTC-7,

[tw5] Re: Saving in chrome

2019-06-16 Thread 'Mark S.' via TiddlyWiki
For the moment, TT's thread seems like a good place: https://groups.google.com/forum/#!msg/tiddlywiki/tMLfNs1K3JU/ApVF6qIaBgAJ If there's a lot of activity, we'll have to think of somewhere else. -- Mark On Sunday, June 16, 2019 at 1:17:01 AM UTC-7, TonyM wrote: > > Mark > > I have not looked

[tw5] Re: Can a <$button> be used to create a data tiddler?

2019-06-16 Thread 'Mark S.' via TiddlyWiki
You should be able to use the index property of the action-setfield widget: <$action-setfield $tiddler="mydatatiddler" $index="name.middle" $value={{$:/temp/person!!name.middle}} /> The fields may seem clunky, but they are probably a better long-term choice, since there are so many filter

Re: [tw5] Re: Tree Macro built in core

2019-06-16 Thread 'Mark S.' via TiddlyWiki
Ok a coupe tweaks to leaf-node2 may do it (until you find another bug) : \define leaf-node2(prefix,chunk) <$list filter="[<__prefix__>addsuffix<__chunk__>]" variable="full-title"> <$list filter="[descriptionis[shadow]] [descriptionis[tiddler]]" variable="tiddler"> <$list

[tw5] Re: Way to avoid losing (extensive) edits from error on save?

2019-06-16 Thread 'Mark S.' via TiddlyWiki
Possibly. You can try using the Emergency Export Save outlined here: https://tiddlywiki.com/#Emergency%20Tiddler%20Export Basically, you're exporting all recently modified tiddlers. Good luck! On Sunday, June 16, 2019 at 8:40:39 AM UTC-7, Linda Moss wrote: > > Hi! > > I'm using *5.1.19 *on

[tw5] Re: Saving in chrome

2019-06-15 Thread 'Mark S.' via TiddlyWiki
Since this thread has, unfortunately, been marked as complete, it might not get the attention it needs. It seems your question is really about saving TWC under Chrome. Perhaps you could repost your question over in the TWC forum: https://groups.google.com/forum/#!forum/tiddlywikiclassic It

[tw5] Re: Question about changing filename for static exports

2019-06-15 Thread 'Mark S.' via TiddlyWiki
Maybe baseFilename={{!!caption}} ?? On Saturday, June 15, 2019 at 5:40:33 AM UTC-7, David Gifford wrote: > > This is all helpful, thank you Tony and Mark. > > Mark's snippet means changing the file name every time. What I am looking > for is a way to set the filenames of each tiddler by

Re: [tw5] Re: Tree Macro built in core

2019-06-14 Thread 'Mark S.' via TiddlyWiki
On Friday, June 14, 2019 at 4:56:44 PM UTC-7, Damon Pritchett wrote: > > After playing around with this new macro further, I've found that it only > works as long as the description matches the tiddler title exactly. If not, > then there is an entry in the tree list to a tiddler that doesn't

[tw5] Re: [Help] Save opens up a Save dialogue box

2019-06-14 Thread 'Mark S.' via TiddlyWiki
That is known as the default mechanism for saving. If you find it inconvenient, there are some 20+ others to choose from: https://tiddlywiki.com/#GettingStarted However, since you're using Brave, probably only the solutions based on node.js will be of use to you. There's another

[tw5] Re: Question about changing filename for static exports

2019-06-14 Thread 'Mark S.' via TiddlyWiki
Using Tony's helpful research, you can create a tiddler with the following contents: <$edit-text tiddler="baseFilename" tag="input" size="20"/> <$macrocall $name="exportButton" exportFilter={{$:/temp/advancedsearch}} lingoBase="$:/language/Buttons/ExportTiddlers/"

Re: [tw5] Re: Tree Macro built in core

2019-06-14 Thread 'Mark S.' via TiddlyWiki
Be sure to have a backukp, or use on a disposable TW file. Clone the existing $:/core/macros/tree tiddler, rename it to $:/core/macros/tree2, and replace the contents with the code below. Invoke as "tree2" -- this way there will be no confusion when reporting results to the community. This

[tw5] Re: Emergent Diseases ... TW & Tracking

2019-06-14 Thread 'Mark S.' via TiddlyWiki
You might enjoy the r/dataisbeautiful sub-reddit. On Friday, June 14, 2019 at 3:39:04 AM UTC-7, @TiddlyTweeter wrote: > > Taking this a little bit further... > > Say I had an painful bicep that swelled 25% of its prior state. This is an > observation, not an explicans. > > In reality, simply

[tw5] Re: edit the editTemplate?

2019-06-13 Thread 'Mark S.' via TiddlyWiki
TW condenses redundant entries in an array list (which is what the title list is). Perhaps you could clone the controls as ...controls2, and then put an entry for that at the end? (Oh yeah, be sure to have backups first) On Thursday, June 13, 2019 at 5:24:52 PM UTC-7, Dave wrote: > > Hi, > >

[tw5] Re: Input and output

2019-06-13 Thread 'Mark S.' via TiddlyWiki
In that case, you problem want to use the "search operator" (https://tiddlywiki.com/#search%20Operator) There are several ways to interpret what you want. This version assumes that you have just one input field, but still have two description fields, and that you want results to return if

[tw5] Re: encrypted TW on mobile chrome browser shows inital tiddlers

2019-06-13 Thread 'Mark S.' via TiddlyWiki
Although I haven't experienced this particular problem, I have noticed that many times when I load a TW page with multiple input fields, it will show me a mix of both old and new inputs. I have to reload the TW page to get rid of the old inputs. This happens like clockwork on my mobile devices

[tw5] Re: Input and output

2019-06-13 Thread 'Mark S.' via TiddlyWiki
This will get you started ''Meal type:'' <$edit-text tiddler="input1" tag="input"/> ''Course:'' <$edit-text tiddler="input2" tag="input" /> <> Generally, you don't want to use regular HTML tags for input fields. You want to use TW's own wikitext tags so you can leverage its power. I assumed

[tw5] Re: Plausible deniability

2019-06-13 Thread 'Mark S.' via TiddlyWiki
Just a thought. It seems like you want comments associated with tiddlers that you only see. Perhaps you could do that with the comments plugin. You can enable/disable the comments plugin depending on what mode you're in. On Thursday, June 13, 2019 at 5:50:18 AM UTC-7, passingby wrote: > > Is

[tw5] Re: Tree Macro built in core

2019-06-12 Thread 'Mark S.' via TiddlyWiki
In the example given at TiddlyWiki.com, based on prefix $:/, scroll down until you get to "boot". It has a folder icon in front of it. Clicking on it expands it to show the sub-tiddlers. So ... the expandable part needs to be deeper one level. If your test data only has one level of "depth",

[tw5] Re: Edit-Text to Data Tiddler Lookup

2019-06-11 Thread 'Mark S.' via TiddlyWiki
<$view tiddler="Dictionary" index={{tempTid!!mylookup}} /> Notice that I'm not using mixed case for the field -- TW will automatically turn your mixed case field name into lowercase. On Tuesday, June 11, 2019 at 6:59:28 PM UTC-7, Drevarr the Old wrote: > > I want to add a dictionary tiddler

[tw5] Re: What operators use [current] ?

2019-06-11 Thread 'Mark S.' via TiddlyWiki
"is" operator lists "current" as an operator, BTW On Tuesday, June 11, 2019 at 3:55:57 AM UTC-7, Mat wrote: > > When can [current] be used instead of ? > > I know that the all operator > can use this > argument. I believe the [current] was

[tw5] Re: Saving in chrome

2019-06-09 Thread 'Mark S.' via TiddlyWiki
I've been testing a powershell script for several weeks. https://groups.google.com/d/msg/tiddlywiki/tMLfNs1K3JU/gkrGu-ubAQAJ So far it's been working great. You have to be sure to use a unique file stem (NOT "empty" or "tiddlywiki", the default download names). You set your browser to download

  1   2   3   4   5   6   7   8   9   10   >