Hey, Im trying to fake google's mousedown event to get link but I dont have luck Here is my code #include <IE.au3>
#include <MsgBoxConstants.au3>
local $s_q = "autoit"
local $i_resultnum = 100
local $lng = "tr"
local $url = 'http://www.google.com/search?hl='&$lng&'&q=' & StringReplace(StringReplace($s_q, "+", "%2B"), " ", "+") & '&num=' & $i_resultnum
; $s_Source = _INetGetSource('http://www.google.com/search?hl='&$lng&'&q=' & StringReplace(StringReplace($s_q, "+", "%2B"), " ", "+") & '&num=' & $i_resultnum)
$oIE = _IECreate($url, 0, 1)
Local $oLinks = _IELinkGetCollection($oIE)
Local $iNumLinks = @extended
Local $sTxt = $iNumLinks & " links found" & @CRLF & @CRLF
For $oLink In $oLinks
if $oLink.href == "http://www.autoitscript.com/" Then
MsgBox(0, default, "sadga")
_IEAction($oLink, "focus")
_IEAction($oLink, "blur")
_IEAction($oLink, "click")
EndIf
Next