I am new to programming and this is my first question. Thanks in advance for your support.
I have to download PDFs from a website constantly. When clicking on a button it opens a second tab and the PDF shows. The URL appearing on browser address bar is not exactly the URL of the PDF, it is just a generic website that is triggered through tokens to open the PDF.
Since I do not have the URL, I haven't been able to use URLDownloadToFile option. This option as well corrupts the PDFs and it hasn't been working for me. I was unable to use XMLHTTP since it requires a URL as well.
Unless you have other suggestions, I think clicking the Save button appearing on the frame of the PDF opened in IE could be the solution. I wound't like to use send keys since it is going to be a process running while the PC is locked. I already know how to manipulate the "Save As" window. I do not know how to invoke the Save button. Can some one show me how to do this?
![IE PDF Screen][This is the button I want to invoke]1