Shiro Posted August 4, 2009 Share Posted August 4, 2009 hello,i want to write a script in which i want to open a site in hidden mode. it's link: http://host-tracker.com/then enter the web address in the following field.and click the check button and pause the script for 5 minutes.can you plz help me to automate this process?thanx Link to comment Share on other sites More sharing options...
rbhkamal Posted August 4, 2009 Share Posted August 4, 2009 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 More sharing options...
Shiro Posted August 4, 2009 Author Share Posted August 4, 2009 thanks a lot but it's working visible. i want it to be in hidden mode. Link to comment Share on other sites More sharing options...
rbhkamal Posted August 4, 2009 Share Posted August 4, 2009 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 fileHighlight _IECreate and Press F1Read! "When the power of love overcomes the love of power, the world will know peace"-Jimi Hendrix Link to comment Share on other sites More sharing options...
Juvigy Posted August 5, 2009 Share Posted August 5, 2009 Check out this line and see what are the parameters of this function in the help file. $oIE = _IECreate( "http://host-tracker.com/" , 0 , 1 ) Link to comment Share on other sites More sharing options...
Shiro Posted August 5, 2009 Author Share Posted August 5, 2009 Check out this line and see what are the parameters of this function in the help file. $oIE = _IECreate( "http://host-tracker.com/" , 0 , 1 ) i changed it to this $oIE = _IECreate( "http://host-tracker.com/", 0, 0, 1) but now i think it's not working... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now