Hello everyone,
I renamed tiddlywiki.html to tiddlywiki.hta. I used it in HTA mode.
And I have some word/excel/txt files in the same directory.
Is there any way to link to a local word/excel/txt in HTA mode?
In general html, I can use activexobject just like the following:
<script language="Javascript">
function doword(doc)
{
var url=unescape(window.location.href).replace( "file:///","");
url =url.substring(0,url.lastIndexOf("/")+1).replace("/","//");
url=url+doc;
var WordApp=new ActiveXObject("Word.Application");
WordApp.Application.Visible=true;
var Doc=WordApp.Documents.Add(url,true);
}
</script>
</head>
<body>
<button onClick="doword('test2.doc')">OPEN</button>
but how to use avtivexobject in tiddlywiki?any example or for instance please?
Thanks