Summary
This document provides an Avenue example using the 'executemacro' request to open a specific ArcView help topic.
Procedure
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.
Code:
av.Help.ExecuteMacro("ji(""c:/esri/av_gis30/arcview/help/arcview.hlp"", ""CUSTOMIZE_TYPES"")")
Note:
The path to the help file should be updated to be current with the ArcView installation directory.
- Compile the script.
![[O-Image] Script compile button](https://webapps-cdn.esri.com/CDN/support-site/technical-articles-images/000005043/00N39000003LL2C-0EM39000000wcfD.png)
- Run the script.
![[O-Image] Run compiled script button](https://webapps-cdn.esri.com/CDN/support-site/technical-articles-images/000005043/00N39000003LL2C-0EM39000000wcfC.png)