Jump to content
Sign in to follow this  
namoka

Google Result

Recommended Posts

namoka

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

Share this post


Link to post
Share on other sites
wakillon

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

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.