tnken Posted October 16, 2007 Posted October 16, 2007 I am new to AutoIt and don't seem to find any examples of navigating web pages. I am trying to automate a rather lengthly downloading process from a website and need to detect the page and simulate a user clicking on options, envoking the download (a pdf file) and storing it. Can't figure out how to find and envoke the "click". Appreciate any assistance - an example would be of great help. Thanks Ken
Nahuel Posted October 16, 2007 Posted October 16, 2007 I am new to AutoIt and don't seem to find any examples of navigating web pages.I am trying to automate a rather lengthly downloading process from a website and need to detect the page and simulate a user clicking on options, envoking the download (a pdf file) and storing it. Can't figure out how to find and envoke the "click".Appreciate any assistance - an example would be of great help.ThanksKenJust look in the help file Functions you might have to consider:_IECreate()_IENavigate()_IEAction()
herewasplato Posted October 16, 2007 Posted October 16, 2007 Welcome to the forum.If the name of the URL to the PDF stays the same, then one line of AutoIt code might work for you...InetGet("http://www.ntsb.gov/Publictn/1997/AAR9704.pdf","AAR9704.pdf")If the name changes, then you might want to read up on the various _IE.... functions.If the _IE... functions are a bit overwhelming right now, then wade thru this post:http://www.autoitscript.com/forum/index.php?showtopic=14395 [size="1"][font="Arial"].[u].[/u][/font][/size]
tnken Posted October 18, 2007 Author Posted October 18, 2007 Thank you both for responding so quickly - I've spent the last 2 days "learning" AutoIt so I can complete my task and your input helped alot. It would appear that the _IE functions in IE.au3 should do the trick. I'm impressed with the level of activity in this forum overall and the extent to which AutoIt is being used.
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