Get text from a row on the screen, limited by the specified number of columns. The string will not include information past the number of columns specified.
Parameters
Row |
The row of text to return. |
Column |
The column of text to return. |
Number of Columns |
The maximum number of columns to get from the screen. |
Format
Get_Screen_Text_Columns (Row, Column, Number of Columns)
Return Value
Returns the text starting at the specified screen position up to the right side of the display.
Example
Script( Get_Screen_Text_Columns_Test )
String( strScreenText )
Number( nRow )
Number( nColumn )
Number( nMaxColumns )
Activate( From_Menu )
nRow = Ask_Number( "Enter row, top row is 1", "Get_Screen_Text_Test", 1, 99, 1 )
nColumn = Ask_Number( "Enter column, top column is 1", "Get_Screen_Text_Test", 1, 99, 1 )
nMaxColumns = Ask_Number( "Enter maximum number of columns", "Get_Screen_Text_Test", 1, 99, 10 )
strScreenText = Get_Screen_Text_Columns(nRow, nColumn, nMaxColumns)
Ask_OK( strScreenText, "Screen Text" )
Return
See Also
Get_Screen_Text, Get_Screen_Text_Length, Get_Field_Index, Get_Field_Row, Speech_To_Text, Search_Screen, Get_Screen_Rows, Get_Position_Row, Ask_String, String_Equal
Was this article useful?
The topic was:
Inaccurate
Incomplete
Not what I expected
Other