Using CHM shortcut links


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.


Click me to go to


  • 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"
<PARAM name="Command" value="ShortCut">
<PARAM name="Item1" value=",,">

Put this code in your <body> section:

<p><a href="javascript:MyUniqueID.Click()">Click me to go to</a></p>

back to top ...