...zu WinWord, MS HTML Help Workshop und Fahrrad.
<SCRIPT LANGUAGE="JavaScript">
document.write('<OBJECT id=myid type="application/x-oleobject"');
document.write(' classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"');
document.write(' codebase="hhctrl.ocx#Version=4,72,8252,0"');
document.write(' width=100');
document.write(' height=100');
document.write('>');
document.write(' <PARAM name="Command" value="ShortCut">');
document.write(' <PARAM name="Button" value="Text:Test">');
document.write(' <PARAM name="Item1" value=",');
document.write(location.href.replace(/mk:@MSITStore:/,"").replace(/\\[^\\]+\.chm::.*$/,""));
document.write('\\anderehilfe.chm,">');
document.write('</OBJECT>');
</SCRIPT>
Variante: Öffnen einer Hilfe mit bestimmtem Thema:
<SCRIPT LANGUAGE="JavaScript">
document.write('<OBJECT id=myid type="application/ x-oleobject"');
document.write(' classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"');
document.write(' codebase="hhctrl.ocx#Version=4,72,8252,0"');
document.write(' width=100');
document.write(' height=100');
document.write('>');
document.write(' <PARAM name="Command" value="ShortCut">');
document.write(' <PARAM name="Button" value="Text:Test">');
document.write(' <PARAM name="Item1" value=",hh.exe,');
document.write(location.href.replace(/ \\[^\\]+\.chm::.*$/ ,""));
document.write('\\anderehilfe.chm::\hilfethema.htm">');
document.write('</ OBJECT>');
</ SCRIPT>
Zuletzt aktualisiert: 2021-09-18
RHR