Open a help topic using Avenue

Last Published: April 25, 2020


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.

  1. Start ArcView.
  2. Open a new script.

    A. Activate the Project window.
    B. Click the Scripts icon.
    C. Click New.

  3. Paste the below code into the Script window.

    av.Help.ExecuteMacro("ji(""c:/esri/av_gis30/arcview/help/arcview.hlp"", ""CUSTOMIZE_TYPES"")")

    The path to the help file should be updated to be current with the ArcView installation directory.

  4. Compile the script.
    [O-Image] Script compile button
  5. Run the script.
    [O-Image] Run compiled script button

Article ID:000005043

  • Legacy Products

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic