Custom descriptor (<customreco> element)

The Custom descriptor allows you to call custom description code.

To create a Custom descriptor you must use the source view to add a <customreco> element to the <description> element of the macro screen. For more information on this element, see <customreco> element.

Note:
If you are using custom screen recognition in the screen descriptors of a HATS macro, and the macro is invoked through the <playmacro> action from within a separate macro, the custom screen recognition logic does not work.

HATS can only register as a listener for custom recognition events in the first macro of a chain. HATS cannot register as a listener for any of the subsequent macros in the chain.

To resolve this problem, use non-chained macros when using HATS custom screen recognition.