currentPage

Property of the steps object (see steps) containing an integer value that represents the page where the pointer is located, inside the current record.

In this example, an extraction area is assigned to the variable curLine each time the current page value has changed.

Copy
curPage = steps.currentPage;
for(i=0;i<100;i++) {    
    if(steps.currentPage > curPage) {        
        let curLine = data.extract(51, 88, 0, 1, "").trim();        
        curPage++;    
    } 
}