Jump to content

Google search automate

Recommended Posts


I have this script, where after clicking on a button IE starts and makes a Google search. Now after the search the ARK/Intel side pops up (always). Is there any way, that my button can select the site automaticly?

$Output = processor Name and manufacturer

Func google()
    Run("C:\Programme\Internet Explorer\iexplore.exe http://www.google.dk/#q=" & _INetExplorerCapable($output) & " graphics")
Edited by Misuna
Link to comment
Share on other sites

I've tried this out, but it only opens the Google site...

#include <IE.au3>

Local $oIE = _IECreate("http://www.google.de/#q=2620m")

Local $sMyString = "ARK | IntelĀ®"
Local $oLinks = _IELinkGetCollection($oIE)
For $oLink In $oLinks
    Local $sLinkText = _IEPropertyGet($oLink, "innerText")
    If StringInStr($sLinkText, $sMyString) Then
        _IEAction($oLink, "click")
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

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...