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
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/402a29c0-6af5-4157-8892-6374ae8bac3d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.