|
Executing APG Scripts |
|
See Also: |
APG scripts can be executed within Windows Explorer using any of these techniques:
If you right-click on an APG script within Windows Explorer, you will see the APG script context menu:

The context menu offers these options:
| Run | Default action. Run the APG script using APGen.exe. |
| Edit | Edit the APG script in Notepad. |
| Edit with Visual Studio | Edit the APG script in Visual InterDev 98 or later. |
| Run in Command Prompt | Run the APG script in a Command Prompt window. Uses APGenCmd.exe. |
The "Edit with Visual Studio" context menu option is only available if Visual InterDev 98 or later was installed when APGen was installed.
The shell functionality discussed above applies to APG scripts with a ".apg" extension. The context menu and double clicking do not work on APG scripts with a different filename extension.
Scripts with any extension can be executed by dragging and dropping the file on APGen.exe.
You may want to name include files with a ".inc" or similar extension, so that the file will not be mistakenly run as a standalone APG script.