Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
JanVod opened this issue Oct 19, 2023 · 0 comments
Open

Comments

@JanVod
Copy link

JanVod commented Oct 19, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant