To create an Extract action:
Navigate to the application screen where you want to create an Extract action.
On the toolbar of the host editor click Extract
Data from Screen
. (Alternatively you can click the drop-down arrow and then
click Create a Single Extract Action.)
If you have not yet selected a variable message file and a variable message for the flow that you are recording, then the host editor opens the No Variable Message File window and prompts you to select or create a message file and a message for the flow (see Specifying a variable message later on during flow recording). Make your selections and click OK.
From the list of variables displayed in the upper pane of the window select the variable that you want to use with the Extract action (see The list of available variables):
The characteristics of the selected variable (type of variable, cardinality, and maximum number of iterations) must match the storage requirements of the Extract options that you specify in the lower pane of the window (see steps (b) and (c) below and the subtopic The characteristics of the variable must match the Extract options).
To select a variable for the Extract action you can use the automatic configuration method or you can select an existing variable having the proper characteristics:
Type of variable: Simple variable or array variable (see Type of variable).
Cardinality: If you want to read rows of text from a rectangular area of the application screen and store the rows into an array, with one row of text in each element of the array, then the cardinality of the variable must exactly match the number of rows of text in the rectangular area (see Cardinality).
Maximum number of iterations: If the Extract action is in a loop being recorded and you want to store the text from the Extract action into a separate instance of the Extract variable in each iteration of the loop, then the maximum number of iterations value must be exactly equal to the value in the Maximum iterations field, which specifies the maximum number of iterations that the loop is allowed to perform at runtime (see Maximum number of iterations).
The Maximum number of iterations field specifies the maximum number of iterations that the loop currently being recorded is allowed to run at runtime (see Maximum number of iterations).
Click OK. The Select Variable window closes.
Extracting text from a field:

Extracting text from a rectangular area:
If you are extracting text from a rectangular area then you have already specified the coordinates of the rectangular area in the Select Variable window. Now in the session area the rectangular area that you selected is highlighted with one or more red rectangles:
If you selected to have the text copied into a single variable then the rectangular area is highlighted with a single red rectangle:

If you selected to have the text copied into an array variable then each row of the rectangular area is highlighted with a red rectangle:

The window creates the Extract action.