Jump to content

Google Result


Recommended Posts

Hello everyone. I'm a newbie and I'm from VietNam. Sorry abt my English.

I want to make a tool to get result from Google. I use: $oIE.document.links($i).href to get link

However, this way so long time and I can't click on Next page. Please help me. Thanks so much!

Edited by namoka
Link to comment
Share on other sites

Welcome to the forum !

IE is not known for its speed ! Posted Image

you can click on next button like this :

#include <IE.au3>

$oIE = _IECreate ( "http://www.google.com/search?hl=en&source=hp&q=forward&aq=f&aqi=g5g-s1g4&aql=&oq=" )
_IELoadWait ( $oIE )
$oDiv = _IEGetObjById ( $oIE, "pnnext" )
ConsoleWrite ( _IEPropertyGet ( $oDiv, "innertext" ) & @CRLF)
_IEAction ( $oDiv, "click" )

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

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