How to click each individual link of PDF files on a web page

Advanced programming using WinTask scripting language

How to click each individual link of PDF files on a web page

Postby Kerm on Thu Sep 19, 2013 7:58 am

Hi, how do I use WinTask to download multiple PDF files where the links for each file are located one the same webpage
Kerm
 
Posts: 27
Joined: Tue Oct 18, 2005 4:27 pm

Re: How to click each individual link of PDF files on a web page

Postby TechSupport on Mon Sep 23, 2013 10:13 am

Hello,

The easiest way is to use Recording mode and you record the click on each individual link. If each link is a constant with just an order number at the end for example, the script will replay correctly the days after.

If the links change because there are new PDF or because the link names are different each time the page is refreshed, then you need to use ExtractLink Wintask function. This function extracts all the child links of an HTML element. The links are stored in an array and then you can loop and do a clickhtmlelement for each link stored in this array.

Regards.
WinTask Tech Support
TechSupport
 
Posts: 805
Joined: Thu Nov 16, 2006 9:58 am


Return to Scripts programming

Who is online

Users browsing this forum: No registered users and 4 guests

cron