Macros

The tools in the Macros group provide access to the features available in Image-Pro that allow you to manage, define, edit, and launch macros and scripts. See Working with Macros for general information about the available features.  See below for specific information about the tools in this group.

Scripting Explorer: Click on this tool to open the Scripting Explorer where you can find, organize, rename, launch, and otherwise manage your macros, Apps, and report templates.

Click on the down arrow below the tool to get quick access to the list of 'favorite' macros.  These are macros for which the"Favorite" property is set to "Yes".

Scripting Workbench: Click on this option to open the Scripting Workbench.  The Scripting Workbench allows you to work directly with your macro, app, and report template code.  For more information about the Scripting Workbench, click in the top right corner of the Scripting Workbench application window and click on Image-Pro Scripting Help.

New Project: This tool is a shortcut to creating a new Project through the Scripting Workbench. When you click this tool, the Scripting Workbench is opened, and you are prompted to give the new project a name. In the Name text box, type over the default name with a more meaningful name for the new project. In the Create Project Items area, indicate the types of project items you want the new project to be a container for. A project can be a container for apps, modules (i.e., macros), and/or reports.

Record Macro/Stop Recording:  Click Record Macro to start a macro recording sessions.  When you click Record Macro, the name of the button changes to Stop Recording and Image-Pro prompts you to give the macro a name. Type over the default name with a meaningful name, and click OK.  When you click OK, Image-Pro goes into recording mode.  In recording mode, Image-Pro records every feature, tool, or option you use as you use it.  The steps are recorded to a new macro routine that is automatically appended to the end of the currently-selected target macro module.  The new macro will be named "Macro<n>" where <n> is the next sequential number in the target module.

While in the process of recording, you can pause the recording, if desired, to perform steps that you don't want recorded.  See Pause Recording below.  To finish the recording, click on Stop Recording.  

Pause Recording/Resume Recording: Click on this tool if you are in recording mode -- i.e., you are currently recording a macro -- and you want to perform actions in Image-Pro that you do not want recorded.  When you click this tool, subsequent actions done in Image-Pro are not recorded.  Click on the tool again to resume recording.

See also:

  • For more information, open the Scripting Workbench, click in the top right corner of the Scripting Workbench application window, and click on Image-Pro Scripting Help.