Macro screen

A macro screen is a set of instructions that tell the macro runtime how to manage a visit to a particular application screen. A macro screen includes:
  • A description of a particular application screen
  • The actions to take when visiting this particular application screen
  • A list of the macro screens that can validly occur after this particular macro screen

Although the concept is not very intuitive at this point, there might be within the same macro several macro screens that refer to the same application screen. Because of the way macro screens are linked to one another, the macro runtime might visit the same application screen several times during macro playback, processing a different macro screen at each visit.

Also, one macro screen might refer to more than one application screen. When several application screens are similar to each other, you might build a macro screen that handles all of the similar application screens.

Nevertheless, each macro screen corresponds to some application screen. When you record a macro, the Macro object creates and stores a macro screen for each application screen that you visit during the course of the recording. If you visit the same application screen more than once, the Macro object creates and stores a macro screen for each visit.

When you play back a recorded macro, the macro runtime processes one or more macro screens for each application screen that it visits during the course of the playback. Typically, a single macro screen runs for a given application screen. However, it is possible for a macro to be edited in such a way that the actions of the first macro screen do not cause the application screen to advance, and a second macro screen then matches the same application screen.