KTScripts icon indicating copy to clipboard operation
KTScripts copied to clipboard

KTScripts /Text Layout.vb Pages_Compare sub issue on multipage forms

Open JanVod opened this issue 2 years ago • 0 comments

https://github.com/KofaxTransformation/KTScripts/blob/7e904265932d6582f7abc91c419b74b00015e85d/Text%20Layout.vb#L38

Hello, this does not work properly on multipage forms. I believe there must be multiplication by 2, otherwise it removes incorrect alternative in the SL_CalculatePageShift locator and everything gets messed up. At least if I add *2 in my script then it starts working properly. So my while loop looks like this after the correction and it seems working fine now: While Results.Count>page1.Words(0).PageIndex*2

Regards, Jan

JanVod avatar Oct 19 '23 11:10 JanVod