Good afternoon friends, you want to extract PDFs with the condition that it has the same provider, for example the provider “GIGALUX SRL”, it has 3 documents of one page each. There are cases in which the provider has documents with two pages, for example “PROVEFRIO SRL”, on the second page of this provider its name no longer appears, but obviously it must be included. I have already read the names of the suppliers’ documents but I cannot make the cut properly.
1 pdf with 3 “GIGALEX SRL” Documents of one page each (3 pages in total)
1 pdf with 4 Documents DE “KUEHNE + NAGEL SA” of one page each (4 pages in total)
1 pdf with 3 “SEAN METAL SRL” Documents of one page each (3 pages in total)
1 pdf with 3 “PROVEFRIO SRL” Documents of two pages each (6 pages in total)
1 pdf with 4 “INMATEL SA” Documents of one page each (4 pages in total)
I attach the bot to you, it would be great if someone help me with the bot logic
Thank you very much for the answer, but I have a problem with: Could not load file or assembly ‘itextsharp, Version = 188.8.131.52, Culture = neutral, PublicKeyToken = 8354ae6d2174ddca’ or one of its dependencies.
Your bot is very good, but the problem is the following, as the bot could read the names of the other providers, since they change from month to month and I have noticed that you explicitly search for the first provider “GIGALEX SRL” through regex, for the first provider it would work, but for the others it would have a problem and I could not do a regex for each one, because month by month the names of the providers change.
Excuse me for my English, I am using the google translator.
Great, I find it very interesting, I will try. But something strange I found in the “then” and “else” of “IF” in the next screenshot, in the “else” curiously it does not read my variable “OldIntCurrentPage”, nor does it allow values to be assigned to that variable, but it does I do that on the “then” side there if it works, it could be that that’s why it doesn’t extract the pdfs in the right place.