Evaluation of descriptors

This section describes in detail how the macro runtime determines whether a macro screen matches an application screen.

Keep the following in mind as you read through the following subsections:
  • In most macro screens, the <description> element contains more than one descriptor.
  • The default in the macro editors is that all descriptors are required (the Optional attribute of each descriptor is false) and that the default combining rule is used.
  • The most common scenario that you will encounter is that all descriptors are required. That is, if you have defined three descriptors, you want all three of them to be true in order for the macro screen to be recognized. If you are facing this scenario, then you should use the default settings.
  • If you are faced with a scenario that is more complicated than the default scenario, then you should use the uselogic method (see The uselogic attribute.)