Jump to content

open a site in hidden mode, fill form and click on check


 Share

Recommended Posts

fyi, I feel sorry for you.... next time read the help!

#include <ie.au3>

$oIE = _IECreate( "http://host-tracker.com/" , 0 , 1 )
If @error Or Not IsObj($oIE) Then Exit 10

$oInputs = _IETagNameGetCollection( $oIE , "input" )
If @error Or Not IsObj($oInputs) Then Exit 20

Local $oInput = ""
For $oInput in $oInputs
    If $oInput.type == "text" Then
    If $oInput.name == "url" Then
    If $oInput.id == "url" Then
        $oInput.value = "http://www.google.com"
        ExitLoop
    EndIf
    EndIf
    EndIf
Next

For $oInput in $oInputs
    If $oInput.type == "submit" Then
    If $oInput.value == "Check" Then
        $oInput.Click
        ExitLoop
    EndIf
    EndIf
Next

Sleep( 1000 )

_IELoadWait( $oIE )

"When the power of love overcomes the love of power, the world will know peace"-Jimi Hendrix

Link to comment
Share on other sites

thanks a lot but it's working visible.

i want it to be in hidden mode.

Open Scite (download it and install it from autoitscript.com)

Save the script above in a file

Highlight _IECreate and Press F1

Read!

"When the power of love overcomes the love of power, the world will know peace"-Jimi Hendrix

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