Jump to content

Recommended Posts

Posted

Hello,

I need to perform the following task:
1. Copy the start URL to the clipboard, CTRL+L to put the focus on the URL bar, and paste it
2. Wait a couple of seconds for the page to download
3. CTRL+S to save into a file
4. If counter < 100, increment the URL

Au3Info.exe shows this for Chrome with an open page:
Whole browser: Title = "My title", Class = "Chrome_WidgetWin_1"
Page: Class = "Chrome_RenderWidgetHostHWND"

Would someone have some working code I could use as inspiration?

Thank you.

Posted

i sugges use explorer is much simple

look  udf  _ie managment  sart wit _iecreate

create a code and post with code for us is much better give you a help

good luck

Posted (edited)

You should be able to use InetGet to download the page, you could use WinWait, or Sleep to wait while the page loaded, this could be done in a loop for example:

Global $g_sDownload = @ScriptDir & "\Comics"
    If Not FileExists($g_sDownload) Then DirCreate($g_sDownload)
For $i = 1 To 100
    InetGet("https://www.comics.org/feature/" & $i, $g_sDownload & "\Page" & $i & ".html")
Next

 

Edited by Subz
Removed Chrome path (wasn't required).

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