Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
extract links (a href => zip only)
#1
I used the menu on top of the Quick Macros window to:

- Find HTML element, wait
and
- HTML element actions

Both work for me perfectly to target single elements.
But if I have a very simple webpage with only 3 links, like this (location example: http://www.testserver1234.com/testpage.html) :

Code:
Copy      Help
.
.
<P><A href="http://dir1/subdir1/file1.zip"><STRONG>Part 1</STRONG></A></P>
<P><A href="http://dir2/subdir2/test.txt"><STRONG>text file</STRONG></A></P>
<P><A href="http://dir3/subdir3/file2.zip"><STRONG>Part 2</STRONG></A></P>
.
.

How do I extract only the .zip links?

Code:
Copy      Help
http://dir1/subdir1/file1.zip
http://dir3/subdir3/file2.zip

Edit: I forgot to mention, that the html example (above) will be running in Internet Explorer 9, and I do all data-manipulation/extracting/clicking/...etc... through the browser (IE9) with the help of Quick Macros off course.


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)