Jump to content
Sign in to follow this  
tnken

Need example of web page auto-navigation

Recommended Posts

tnken

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

Share this post


Link to post
Share on other sites
Nahuel

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

Just look in the help file :)

Functions you might have to consider:

_IECreate()

_IENavigate()

_IEAction()

Share this post


Link to post
Share on other sites
herewasplato

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]

Share this post


Link to post
Share on other sites
tnken

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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×