Available with Advanced license.
It's possible to use ARC Macro Language (AML) files in ArcGIS Desktop by creating a new geoprocessing script tool. If you have an ArcGIS Desktop Advanced license and ArcInfo Workstation installed, you can add a custom script tool that references an AML.
There is an initial step that must be completed before an AML file can be set up as a script tool. The system must be able to open ArcInfo Workstation and run the &run command, such as arc: &run MyAml.aml. Esri provides a tool for updating the system registry. After the system registry has been updated, add a new script tool using the Add Script Tool dialog wizard. The script tool can be used like any other geoprocessing tool.
- Update the system registry:
- Browse to ArcToolbox\Scripts subfolder under your ArcGIS install.
- Double-click the file RegisterAmlAsExecutable.reg.
- Click Yes to add this information to the registry.
- Create a script tool that runs an AML file:
- From within ArcGIS, right-click a folder or geodatabase and click New > Toolbox.
- Right-click the toolbox created in the previous step, click Add > Script. This starts the Add Script wizard.
- Name and describe the new script tool and click Next.
- Browse to the location of the AML file and click Next.
- Set up the input and output parameters and options and click Finish.