Jump to content

Recommended Posts

Posted

@Killer - Are you wanting the generated source of the page or are you wanting to download a file linked from that page?

I want to grab the source of the page - the html form of the page.

Posted (edited)

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
Posted

@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.

Posted

_IECreate ( [$s_Url = "about:blank" [, $f_tryAttach = 0 [, $f_visible = 1 [, $f_wait = 1 [, $f_takeFocus = -1]]]]] )

Good-ol-helpfile

  • Moderators
Posted

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.

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
×
×
  • Create New...