Query: Where is the START UP magic?

58 views
Skip to first unread message

@TiddlyTweeter

unread,
Aug 23, 2017, 11:45:05 AM8/23/17
to TiddlyWiki
Cari tutti,

Over on GitHub, some time ago, @Jermolene gave great thought to what having a CONTEXT SENSITIVE START-UP mechanism could do...
At the end of core startup processing, initiate the action widgets contained within all tiddlers tagged $:/tags/StartupAction.

Some examples of what could be done, starting with setting the theme according to whether the wiki is loaded over http(s):// or file://

<$action-setfield $tiddler="$:/theme" $value=<<myStartupThemeChooser
  file:"$:/themes/tiddlywiki/snowwhite"
  http:"$:/themes/tiddlywiki/hidefurniture">>/>
ONE thing would be to able to auto-activate a TW online that auto-hides its editing interface.

That would mean people using just the single file TW could much more simply upload it online in without having to create TWO versions (mine, author; yours' user). On open on-line the TW would detect its environment and apply any actions needed---like hiding the editing interface.

As far as I know, only Jed Carty has braved those waters.

I think this has a lot of mileage.

Best wishes
Josiah
Reply all
Reply to author
Forward
0 new messages