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/16e5a3f0-30c8-49c5-a748-c527f0605179n%40googlegroups.com.

Reply via email to