Hi guys,
I have seen there is a bunch of similar topics, but for some reason (probably because I´m really a beginner with AutoIt and do not have other programming experience) what I have seen there didn´t really help me.
Here is what I have -
<iframe id="x" name="x1" title="x2" src="...">
...
<a class="yy" id="yy1" title="yy2" onkeydown="yy3" href="javascript:void(0)" target="" onclick="yy4">yy5</a>
</iframe>
End result - I need to click the link within the iframe.
I already tried ControlClick and _IELinkClickByText.. unfortunately this was in vain.
_IELinkClickByText($oIE, "yy5") resulted in
--> IE.au3 V2.4-0 Warning from function _IELinkClickByText, $_IEStatus_NoMatch
ControlClick - tried different combinations, nothing worked, without any errors in the log. Also, I could not get any information about the ControlID, because the AutoIT info tool is showing absolutely the same info for everything on the page..
I know that I probably have to use either _IEFrameGetObjByName or _IEFramgeGetCollection, but I am too dumb to implement this :)
The only few strings I have at the beginning are to open the page:
#include <IE.au3>
$oIE = _IECreate()
_IENavigate($oIE, "http://..")
I would really appreciate your help and suggestions!
Thanks!
I have seen there is a bunch of similar topics, but for some reason (probably because I´m really a beginner with AutoIt and do not have other programming experience) what I have seen there didn´t really help me.
Here is what I have -
<iframe id="x" name="x1" title="x2" src="...">
...
<a class="yy" id="yy1" title="yy2" onkeydown="yy3" href="javascript:void(0)" target="" onclick="yy4">yy5</a>
</iframe>
End result - I need to click the link within the iframe.
I already tried ControlClick and _IELinkClickByText.. unfortunately this was in vain.
_IELinkClickByText($oIE, "yy5") resulted in
--> IE.au3 V2.4-0 Warning from function _IELinkClickByText, $_IEStatus_NoMatch
ControlClick - tried different combinations, nothing worked, without any errors in the log. Also, I could not get any information about the ControlID, because the AutoIT info tool is showing absolutely the same info for everything on the page..
I know that I probably have to use either _IEFrameGetObjByName or _IEFramgeGetCollection, but I am too dumb to implement this :)
The only few strings I have at the beginning are to open the page:
#include <IE.au3>
$oIE = _IECreate()
_IENavigate($oIE, "http://..")
I would really appreciate your help and suggestions!
Thanks!