[tw5] Re: GetLocalStorageItem javascript macro

2022-02-05 Thread Charlie Veniot
Arg, I totally borked the export of that file. (The file on my local drive is empty.) Thanks for catching that. Instead, sneak a peek at both javascript macros (GetLocalStorageItem and SetLocalStorageItem) here: https://basicanywheremachine.neocities.org/LocalStoragePrototype.html That Tiddl

[tw5] Local storage prototype: TiddlyWiki and BASIC data exchange

2022-02-05 Thread Charlie Veniot
https://basicanywheremachine.neocities.org/LocalStoragePrototype.html BASIC could definitely be used for complex scripting in TiddlyWiki. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails fr

Re: [tw5] Major updates to Chromium native file system saver plugin

2022-02-05 Thread Dyllon Gagnier
Good catch, reset should be working again (version 0.6.3). (sorry for the spam Brian, I kept replying to you instead of the whole chain). On Saturday, February 5, 2022 at 4:14:39 PM UTC-8 brian@gmail.com wrote: > > >> On Saturday, February 5, 2022 at 7:09:35 AM UTC-8 brian@gmail.com

[tw5] Re: GetLocalStorageItem javascript macro

2022-02-05 Thread Dyllon Gagnier
Even in Google Groups, your attachment is empty. I would recommend pastebin or making a GitHub gist. On Saturday, February 5, 2022 at 1:45:02 PM UTC-8 cj.v...@gmail.com wrote: > https://groups.google.com/g/tiddlywiki/c/mOm62AUaz8c > > On Saturday, February 5, 2022 at 5:44:36 PM UTC-4 Charlie Ven

Re: [tw5] Major updates to Chromium native file system saver plugin

2022-02-05 Thread Brian Theado
> On Saturday, February 5, 2022 at 7:09:35 AM UTC-8 brian@gmail.com >> wrote: >> > [...] > >> Also, when I click the "Reset file save location" button, nothing in the >>> indexdb gets deleted. The button doesn't seem to have any effect in spite >>> of the log messages: >>> >>> $:/plugins/slayma

Re: [tw5] Major updates to Chromium native file system saver plugin

2022-02-05 Thread Brian Theado
Dyllon, On Sat, Feb 5, 2022 at 4:43 PM Dyllon Gagnier wrote: > The modal is required even if using IndexedDB. We need a button click both > to show the choose file/folder dialogue as well as getting write/read > permission if using IndexedDB. If you have a wiki mostly for reading, you > can clic

Re: [tw5] Major updates to Chromium native file system saver plugin

2022-02-05 Thread 'Mark S.' via TiddlyWiki
This seems like it would be a real game changer. About 75% of the browser usage today is Chromium based. But it needs a bit of documentation from the user perspective. What are consequences of using or not using indexDB? What are the consequences of using or not using the consistency check? T

[tw5] Re: GetLocalStorageItem javascript macro

2022-02-05 Thread Charlie Veniot
https://groups.google.com/g/tiddlywiki/c/mOm62AUaz8c On Saturday, February 5, 2022 at 5:44:36 PM UTC-4 Charlie Veniot wrote: > I don't have much experience with javascript macros, but I know just > enough to be dangerous... > > So FYI, just a simple javascript macro example for anybody intereste

[tw5] GetLocalStorageItem javascript macro

2022-02-05 Thread Charlie Veniot
I don't have much experience with javascript macros, but I know just enough to be dangerous... So FYI, just a simple javascript macro example for anybody interested in this kind of thing. See attached text file. (I'll follow this up with a link to this Google Post, in case the attachment does

Re: [tw5] Major updates to Chromium native file system saver plugin

2022-02-05 Thread Dyllon Gagnier
The modal is required even if using IndexedDB. We need a button click both to show the choose file/folder dialogue as well as getting write/read permission if using IndexedDB. If you have a wiki mostly for reading, you can click the "close" modal button to exit without setting up the file save

[tw5] Re: BASIC Anywhere Machine can now write to and read from local storage

2022-02-05 Thread Charlie Veniot
Arg, maybe I should have mentioned why I'm liking this. As much as I enjoy doing things in TiddlyWiki au naturel, there are times in which I think some heavy-duty processing would be so much easier to do in BASIC. So I'm thinking this is a really neat use case for BASIC Anywhere Machine. On

[tw5] BASIC Anywhere Machine can now write to and read from local storage

2022-02-05 Thread Charlie Veniot
BASIC Anywhere Machine Sample BASIC program: ` SetLocalStorageItem ("salutation", "howdy, buddy") Print GetLocalStorageItem ("salutation") SetLocalStorageItem (1, 5) Print GetLocalStorageItem (1) ` In and of itself, a nice thing to have for BASIC prog

Re: [tw5] Major updates to Chromium native file system saver plugin

2022-02-05 Thread Brian Theado
Dyllon, I'm unable to get the hash comparison to work. Every time I save, I see a log message about there being no known hash: $:/plugins/slaymaker1907/browser-nativesaver/saver.js:464 Saving with method 'autosave' $:/plugins/slaymaker1907/browser-nativesaver/saver.js:77 Input saver style [] is n