Ciao Mark I ended up making a lot of changes. Many just cosmetic. Some significant.
*I'm, naturally, concerned I may have added problems by the changes. * *Fingers-crossed, not.* FWIW, part of my delay was not about code. It was about conceptual design. I had to rethink quite a lot to get it to work in a way that makes sense when you include settings edit. And also because, as Polly shapes-up, documentation on how she works gets clearer. One issue that got very clear last time round is that console delivered on-screen help needs to be as minimal as possible---and only for the task at hand. I have moved as much documentation as possible to a supplementary wiki. *I hope you approve the changes! * *But do let me know if its wrong in any way.* This rest of this post deals with the settings edit approach I took. The next will list changes in main script. --- EDIT SETTINGS Added: *.\lib\do-settings.ps1, .\lib\template.ini, .\lib\settings.txt* I got a basic settings editor working. Its still very crude, lacking any decent error checking. Its *only* a first approximation. I found that it was best to hive the process off to a separate script so as to not swamp the main script, though its main variables are defined in the main script. This means I can continue to refine it without directly changing the main script further. It covers three cases ... (1) CREATE the .ini WHEN there is NO "settings.ini"; > (2) EDIT the currently loaded .ini; > (3) Make a NEW .ini. The intended behaviour (not fully tested yet) is ... (a) IF settings.ini is missing then (1) is auto-launched; > (b), (2) & (3) are activated from "S - Settings". > All three launch ".\lib\do-settings.ps1" and exit the main Polly. The user needs to restart Polly after using it. Best wishes TT -- 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 https://groups.google.com/d/msgid/tiddlywiki/6b43e6f0-423d-4353-8feb-a2a50abe03b0%40googlegroups.com.