How To: Open a help topic using Avenue
This document provides an Avenue example using the 'executemacro' request to open a specific ArcView help topic.
The 'executemacro' request requires two arguments: 1) A help file and 2) a topic ID. The example below uses arcview.hlp as the help file and CUSTOMIZE_TYPES as the topic ID. These arguments should be altered to fit your needs. The *.hlp file and topic ID, which is stored in the *.cnt file, can be found in the $AVHOME\help directory.
- Start ArcView.
- Open a new script. A. Activate the Project window.
B. Click the Scripts icon.
C. Click New.
- Paste the below code into the Script window.
The path to the help file should be updated to be current with the ArcView installation directory.
- Compile the script.
- Run the script.