alfa 0 Posted May 3, 2011 Hello everyone, I am totaly noob to this. So i have a very basic question. #include <IE.au3> $oIE = _IE_Example ("basic") _IELinkClickByText ($oIE, "user forum") This is from the help file and works great. But if i add _IELinkClickByText ($oIE, "User Moderation") it doesnt click that text. and there is this warning, --> IE.au3 V2.4-0 Warning from function _IELinkClickByText, $_IEStatus_NoMatch What am i doing wrong ? Thanks in advance. Share this post Link to post Share on other sites
Jayson 0 Posted May 3, 2011 If you're using the web page provided by that example well there's no "User Moderation" to click on. Share this post Link to post Share on other sites
alfa 0 Posted May 3, 2011 OK lets say i want it to clik User moderation After it clicks User Forum Share this post Link to post Share on other sites
wakillon 403 Posted May 3, 2011 Try like this #include <IE.au3> $oIE = _IE_Example ("basic") _IELinkClickByText ($oIE, "user forum") _IELinkClickByText ( $oIE, "User Moderation " )you miss the space after User Moderation ! AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Share this post Link to post Share on other sites
Jayson 0 Posted May 3, 2011 (edited) Like this :#include <IE.au3> $oIE = _IE_Example("basic") _IELinkClickByText($oIE, "user forum") _IELoadWait($oIE) _IELinkClickByText($oIE, "User Moderation ")Edit : Wakillon was faster than me Edited May 3, 2011 by Jayson Share this post Link to post Share on other sites
wakillon 403 Posted May 3, 2011 (edited) alfathe next time you want use _IELinkClickByText function and it doesn't workDo like this#include <IE.au3> $oIE = _IE_Example ("basic") _IELinkClickByText ($oIE, "user forum") $oLinks = _IELinkGetCollection ( $oIE) For $oLink In $oLinks If StringInStr ( $oLink.innertext, "User Moderation" ) <> 0 Then ConsoleWrite ( "->--- Link innertext ->" & $oLink.innertext & '<- ' & @Crlf ) _IELinkClickByText ( $oIE, "User Moderation " ) ExitLoop EndIf Next->--- Link innertext ->User Moderation <- and you will see exact text ! Edited May 3, 2011 by wakillon AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Share this post Link to post Share on other sites