.hta to transform it into an "HTML Application", as Microsoft calls it.
But you can do better with HTML Applications than just decreasing the security level. I was particularly interested in a better integration with Windows. I wanted in particular to change the icon of the window that appears in the taskbar (I commonly have about 30-40 windows opened on my desktop). This is quite easy: you just have to add an
<HTA:APPLICATION ICON="myfile.ico"> tag the
<head> section of the HTML file.
Here is how to do it the TiddlyWiki way:
- Get an icon and save it as
tiddlywiki.icoin the same directory as your
wiki.htafile. For example: http://www.tiddlywiki.org/favicon.ico. You can also create you own icon here or here.
- Edit the built-in tiddler MarkupPreHead
- Insert the following text just after
<!--[if IE]> <HTA:APPLICATION ID="oHTA" APPLICATIONNAME="My wiki" ICON='tiddlywiki.ico'/> <![endif]--> <link rel='shortcut icon' href='tiddlywiki.ico' type='image/vnd.microsoft.icon '/>
- Reload your
wiki.hta. That's it!
I now have to explore how to convert this to a plugin...