### 8.10.2 Assigning a hotspot property to invoke a macro

If you reference the same external file from several places in your document, you can dedicate a hotspot character format to this purpose. You assign property MacroHot to the character format, and provide a definition for the macro. For example:

[HelpStyles]

ShowAvi=MacroHot

[HelpMacroStyles]

ShowAvi=EF('yourname.avi')

The MacroHot property works the same way as JumpHot (see §8.9.11.2 Creating alternative jumps), except that instead of using the marked text as the reference string for a jump, Mif2Go provides a predefined WinHelp macro. For example:

[HelpStyles]

FarTarget=MacroHot

[HelpMacroStyles]

; Topic Macro and MacroHot have a required macro content

FarTarget=EF(http://www.omsys.com/)

Mif2Go supplies the leading “!” for the macro invocation.

| 8.10.1 Using a hypertext marker to invoke a macro |  | 8.11 Creating related-topic links in WinHelp |