Using CHM shortcut links

CHM

Using CHM shortcut links

This is a simple example how to use shortcut links from a CHM file and jump to a URL with the users default browser.

Example:

Click me to go to www-help-info.de

Note:

  • Wont work on the web
  • Only works in compressed CHM file.
  • Dosn't work with "Open dialog". You have to save to local disc.
  • MyUniqueID must be a unique name for each shortcut you create in a HTML file.

Put this code in your <head> section:

<OBJECT id=MyUniqueID type="application/x-oleobject"
classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<PARAM name="Command" value="ShortCut">
<PARAM name="Item1" value=",http://www.help-info.de/index_e.htm,">
</OBJECT>

Put this code in your <body> section:

<p><a href="javascript:MyUniqueID.Click()">Click me to go to www-help-info.de</a></p>

back to top ...