Show/Hide Toolbars

Inventu Viewer+ Server Macros

Simple class to define recognition values to be included in the runFromScreen registration property

 

Constructor

 

 public Recog(int row, int column, string text)

 

Parameters

 

Parameter

Type

Description

row

Integer

Row where the recognition is defined, starting with 1

column

Integer

Column where the recognition is defined, starting with 1

text

String

Text that should appear starting at Row, Column for this Recog class to evaluate as "true"

 

Example

 

True when "USER" is at row 2, column 31 and "SIMHOST" is at row 5, column 25

 

 public override List<Recog> runFromScreen

 {

         get

         {

                 return new List<Recog>() 

                 

                         new Recog(2, 31, "USER"), 

                         new Recog(5, 25, "SIMHOST"

                 };

         }

 }