Jump to content

InetGet can't grab some webpages


 Share

Recommended Posts

Try this.

#include <IE.au3>

$sURL = "http://www.trendmicro.com/download/viruspattern.asp"
$oIE = _IECreate($sURL)
ConsoleWrite(_IEBodyReadHTML($oIE))

This code will open the page inside the browser window. I need it saved as a file.html like what InetGet is doing.

Edited by Killer
Link to comment
Share on other sites

@Killer - Do you want all the code written for you?

You didn't specify that isn't the full code. I am not an advance user which is why I am asking for help here. I don't see the fuss over helping someone by doing up the code if it is simple.

Thanks for the code. I will see if I could stop the browser from opening instead before I ask again.

Link to comment
Share on other sites

  • Moderators

You didn't specify that isn't the full code. I am not an advance user which is why I am asking for help here. I don't see the fuss over helping someone by doing up the code if it is simple.

If someone always does the code for you then you will never learn to do it yourself. As long as you show some effort I will help to the best of my abilities.

Thanks for the code. I will see if I could stop the browser from opening instead before I ask again.

_IECreate() has an $f_visible parameter that allows you to open it visible or hidden.
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...