[tw] Re: Retitle a tiddler - conceptually easy - HA!

2017-09-19 Thread RichardWilliamSmith
If you're using chrome, it's probably easier to paste the code as a 'snippet' into the sources panel of the dev tools and run it from there. On Wednesday, September 20, 2017 at 6:30:19 AM UTC+10, Joshua Fontany wrote: > > The Developer Console in Chrome is usually accessed by pressing F12 while

[tw] Re: Retitle a tiddler - conceptually easy - HA!

2017-09-19 Thread Joshua Fontany
The Developer Console in a Chrome is usually accessed by pressing F12 while on the tab/page you want to inspect. "Console" will be one of the tabs (w/ debug output from TW). Paste PMario's code into the input bos at the bottom with the "> " symbol. Other browsers may have other methods to

[tw] Re: Retitle a tiddler - conceptually easy - HA!

2017-09-19 Thread JWHoneycutt
@PMario I will just remove the "//" and everything that follows to the end of the line (remove all comments and keep the programming) I did create 2 short scripts, that you can copy paste into your developer > console and execute there. > ... > The following script doesn't modify anything. >

[tw] Re: Retitle a tiddler - conceptually easy - HA!

2017-09-19 Thread JWHoneycutt
@PMario How exciting... Thank you for the code - I take your warning to heart and created a backup TW5.html, renamed it, and am working on it in a separate "sandbox". For some reason, all your comments start with "//" - but for my implementation of TW5, this just italicizes the text that

[tw] Re: Retitle a tiddler - conceptually easy - HA!

2017-09-19 Thread JWHoneycutt
@Mark S Thank you. You wrote: In database theory, one of the central tenets is to use each field to do > only one thing. TW already breaks this by using the Title field for a title > and an ID. Now you want to also use it for a date field. > Agreed, except that BECAUSE the title is the ID,

[tw] Re: Retitle a tiddler - conceptually easy - HA!

2017-09-19 Thread TonyM
Mario, You seem to be a wizard. Can you confirm your approach for me so I may learn from your example? Loading tiddlywiki in your browser it is stored in active memory. I the developer console you are running a script to search then modify the tiddlywiki in memory. Then the user will save it

[tw] Re: Retitle a tiddler - conceptually easy - HA!

2017-09-18 Thread TonyM
Just a high level idea, I agree with Mark List all tiddlers with dates, which a check box to flag them suffix or Prefix or Other Write a process to move the suffix or prefix into a field titledate Manually fix the balance which is tagged other You could stop there and sort the list based on

[tw] Re: Retitle a tiddler - conceptually easy - HA!

2017-09-18 Thread 'Mark S.' via TiddlyWiki
In database theory, one of the central tenets is to use each field to do only one thing. TW already breaks this by using the Title field for a title and an ID. Now you want to also use it for a date field. Why not extract the dates and put them in their own date field (e.g. actiondate). Then