OS: Windows 7
Browser: Firefox 47
Demos Work: Yes
VBS Scripting: Yes
URL: N/A
IMacros work on other version: N/A
I am trying to extract a URL from a link, and then tell iMacros to "download"/"save target as" the URL it extracts, and download the file from that URL.
Specifically, I am trying to retrieve the second link (the PDF file), named "*":
Specifically, when I use the "record" feature in iMacros and click on the link it retrieves the link as:
Code: Select all
TAG POS=1 TYPE=A ATTR=ID:URL$1
TAB T=2
But when I mouse over the link it retrieves the "name" of the link as: "URLID" and the actual URL as: "https://*/*.PDF".
Using the code:
Code: Select all
TAG POS=1 TYPE=A ATTR=ID:URL$1 EXTRACT=HREF
But what code do I use to tell iMacros to:
1) take that actual URL it extracts and
2) use that actual URL it extracts, and then "download"/"save target as" that actual URL, so that the PDF that actual URL links to (since the actual URL ends in ".PDF") actually downloads the PDF file?
EDIT 1: Updated to edit out some extraneous information.
EDIT 2: Chivracq, I updated my original post to remove some extraneous information if you would please edit your reply to requote my updated edited post to reflect the extraneous information removed I would appreciate. Once your reply is edited to requote my updated edited post; I can then post my solution to this post that I was able to solve thanks to you, so others can benefit.