I am trying to read cell values from a table on the screen in my InputScript. But I can read only the visible table rows.

Only the visible rows are directly addressable in the InputScript. To get the remaining rows, you have to work with "GetTableAttribute" and Enter "/ScrollToLine=..." Table=... For an example, please see our Tips&Tricks No. 9.