The following example shows you how to define a screen variable and use it to execute specific actions based on a variable returned by PROFS.
This is a long example, which contains examples of creating several different kinds of macro commands. If you are unfamiliar with macros, we recommend that you create the macro contained in the example to familiarize yourself with the macro editor and macro command syntax.
This gets 3 characters from the screen at row 1, column 78 and saves them as a variable that your macro can use.
Your completed macro should look like this:
This macro looks at the current PROFS screen and returns a message box containing a description of what was found. You can use this macro as a model to test different macro functions.