subzerocode Posted June 8, 2012 Posted June 8, 2012 (edited) I am trying to develop a script to autodownload pdf files from a set of URLs using DownthemAll.The steps are:1-Go to the URL of interest2- Auto start DownthemAll2a- Wait for the webpage to load.2b- Right click at the appropriate position where pdf files are located.2c- Choose DownthemAll from the context menu by clicking "n".3- Auto browse the destination folder 3a-Click the folder icon within DownthemAll window 3b-Browse for the appropriate destination folder.4- Go to the next URL and the cycle repeats.The problems I am facing are:For every download:1- Wait for the webpage to load.2- Change the URL to the next one. Luckily, the URLs change only in numbersfor example: www.site.com/v1/n1the next one www.site.com/v1/n2and so on...2-Change the destination folder for every URL. So, two variables are URL and destination folder.Here is incomplete code:ShellExecute ( "URL") WinWaitActive ("Browser window title") MouseClick ("right", 706, 661) Send ("n") WinWaitActive ( "DownThemAll! - Make Your Selection")Pls help me complete the code I think it will be a useful utility for everyone else as well.Here is the DownthemAll windowhttp://s17.postimage.org/xymvgy1fj/Downthem_All.png Edited June 8, 2012 by subzerocode
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now