How to save pdf file opened in IE

jsk01@@

New Member
Hi,
I'm new to Blue Prism. My requirement is - when I click a link within a web page, it opens a new IE window with the PDF file. I have to save this file as PDF and close the IE window. (normally, i would click the File>Save As> File Name and save in the popup window)
Any guidance is appreciate.

Thank you in advance.
 
Last edited:

sivagelli

Well-Known Member
You might need to do this in a new object-
1. Identify the IE window by spying
2. "Attach" using the IE window title
3. On successfully attaching, you can spy File>Save As> File Name

Post back , how it goes!
 

jsk01@@

New Member
Thank you for your response.
I tried your steps above. I was not able to spy the pop up window File>Save As — as a separate object. I’m getting “there was an error during the spying operation” (Detail - the window spied was not found in the model”) I tried to spy in every mode but simply not working.
 

jsk01@@

New Member
Yes, I tried it in "Active accessibility" mode and getting “there was an error during the spying operation” (Detail - the window spied was not found in the model”). I'm using BP version 5
 
My current project has this step, to open a PDF in IE and then copy all content to data item.
When the PDF file is open, spy the window itself (preferably maximize) in Win32 mode.
Global Send key activate window.
Global Send key twice for Alt+f+a (Save As), i.e., "%f" and "a"
Add wait time for the pop up.
Spy the pop up
Spy file path
Spy save button
Now provide the complete path in file path space and click center save button.

Voila

Regards
El Guapo
 

CamiCat

Member
Hello @jsk01@@,

good to know that you solved your problem.
Can you please share the screenshots of your process and the
My current project has this step, to open a PDF in IE and then copy all content to data item.
When the PDF file is open, spy the window itself (preferably maximize) in Win32 mode.
Global Send key activate window.
Global Send key twice for Alt+f+a (Save As), i.e., "%f" and "a"
Add wait time for the pop up.
Spy the pop up
Spy file path
Spy save button
Now provide the complete path in file path space and click center save button.

Voila

Regards
El Guapo
#7
Hello @El Guapo Sabelotodo.
Can you please share the screenshots of your process?
Thank you so much,.
 

CamiCat

Member
Hello @jsk01@@ ,
good to know that you finally succedeed in your project.
Can you please share the screenshots of you Process?
It would be helpful for my process.
Thank you,
Cami
 
Top