Hello everyone,
I have a small problem in my larger xaml process, namely that after doing some activities in an IE web application it opens some number of PDFs in Acrobat and I have to save and read some specific data from all of them.
Some information
The number of PDFs is not constant, it depends on some previous activity (I always know the number of PDFs that will open, BUT their titles are random ).
All of those files open in a new Adobe Acrobat windows, so for example I can have 1, 2, 6 or even 15 instances of Adobe Acrobat opened at once.
Those files are not saved anywhere.
What I need to do
So what I want to do is loop through all of those PDFs and read 2 numbers from each one ofthem, only as much and so much.
And I’m afraid I don’t know how to loop through those different instances of Adobe Acrobat and read every opened PDF.
I would really appreciate some help, thanks.
If the PDF files are downloaded to your computer after some activities in IE tab, you can read the file directly from download folder instead of capturing information from Acrobat. PDF file can be processed using UiPath PDF activities.
Hi @Janek2137 ,
Welcome to the community.
You can try with Activity Use App/Browser activity, identify the pdf window opened, figure out which selector attribute can be used to identify every window. Make that attribute dynamic and run it in a loop.
Thanks.
Hi, the problem is that those files are not being downloaded, this is an old web application that we have to use, and it doesn’t download anything, it just opens them.
Hi, I will try to do so, and let you know if it works. Thanks
Is it possible for you to open PDF file one by one (controlled by RPA) so that you can extract data from the PDF file one by one?
Unfortunately not, this web application opens all files at once and it’s not possible to change it.
Main.xaml (15.1 KB)
You can try the flow attached. It will attach and close Acrobat tab one bye one. You can save file/read information from Acrobat and then close it.
To try the flow, you need to open several PDF files in Acrobat first.