JumpKeyword (or JK)

Opens the indicated Help file, searches through the K keyword table, and displays the first topic containing the keyword specified in the macro.

Syntax

JumpKeyword("filename", "keyword")

JK("filename", "keyword")

Parameter Description

filename Name of the Help file containing the desired keyword table. The filename must be enclosed in quotation marks.
keyword Keyword that the macro passes to Help to search for. The keyword must be enclosed in quotation marks.

Example

The following macro displays the first topic that has “hands” as a keyword in the CLOCK.HLP file:

JumpKeyword("clock.hlp", "hands")

Comments

If Windows Help cannot find the specified Help file, it displays an error message and does not perform the jump.

If Windows Help finds more than one keyword match, it displays the first matched topic. If it does not find any matches, it displays a “Not a keyword” message and displays the Contents topic of the destination Help file.

See Also

Search