Hi Walt, I just try for curiosity Nico hack. Tested with success if you set module-type: startup correctly in field of tiddler $:/hacks/startup/setup-mobile-theme.js
(add module-type field with startup). Regards, Sylvain Le vendredi 15 janvier 2021 à 18:58:16 UTC+1, ludwa6 a écrit : > Sounds good,, @NIco -so i renamed that tiddler i'd already created to hold > the script you provided (type is application/javascript) with the name: > > > $:/hacks/startup/setup-mobile-theme.js > > - at first TiddlyDesktop choked on this (wanted to rename it something > else), so then i created a file in my text editor to hold the script, tried > to save w/ the above name -and my Mac choked on it (substituted a hyphen > for the colon)... Still, having nothing else for it, i just imported that > file into TiddlyDesktop, which created 3 different $:/import files all > having for content just the word "yes"... -It didn't work so i had to throw > them out and start over... > > Finally i went back to the "ThemeSwitch" tiddler i'd originally created w/ > the script, and this time was able to rename as above (no idea why what > didn't work before now does)... And now my installation looks correct in > the TiddlyDesktop Explorer, with the above named tiddler of type > application/javascript and content of the given script, file being nested > under/hacks/startup/ ... > > Yet: no joy - i'm always getting the same theme (my default: Vanilla > basic) on startup, on iPhone as well as desktop. > > Is there anything else i can try, anything you might suggest? > > /walt > > On Friday, January 15, 2021 at 2:21:54 PM UTC Nicolas Petton wrote: > >> ludwa6 <[email protected]> writes: >> >> > Brilliant solution, @Nico! But: how do i get the script to run? >> >> Save the tiddler as $:/hacks/startup/setup-mobile-theme.js, with the >> type field set to application/javascript, and the script should run on >> startup. >> >> Cheers, >> Nico >> > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d8b78696-d063-4a15-922c-c454a65543e9n%40googlegroups.com.

