joeloyzaga Posted February 23, 2015 Share Posted February 23, 2015 this is the code I'm trying to use but it cannot find the link Local $theFrame = _IEGetObjById($oIE,"iframe--Client-Create") Local $oLinks = _IELinkGetCollection($theFrame) MsgBox(0, "Link Count", @extended & " links found") Local $sMyString = "Client Lead Partner" Local $oLinks = _IELinkGetCollection($theFrame) For $oLink In $oLinks Local $sLinkText = _IEPropertyGet($oLink, "innertext") If StringInStr($sLinkText, $sMyString) Then _IEAction($oLink, "click") ExitLoop EndIf Next the html is attached Link to comment Share on other sites More sharing options...
JohnOne Posted February 23, 2015 Share Posted February 23, 2015 You cannot do on cross domain frames. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
joeloyzaga Posted February 24, 2015 Author Share Posted February 24, 2015 I don't understand this - what do you mean by cross domain frames? Link to comment Share on other sites More sharing options...
Gianni Posted February 24, 2015 Share Posted February 24, 2015 did you try with _IELinkClickByText() Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt.... Link to comment Share on other sites More sharing options...
JohnOne Posted February 24, 2015 Share Posted February 24, 2015 https://msdn.microsoft.com/en-us/library/ms533028%28v=vs.85%29.aspx AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
joeloyzaga Posted February 24, 2015 Author Share Posted February 24, 2015 clicklinkbytext does not find the link Link to comment Share on other sites More sharing options...
Gianni Posted February 24, 2015 Share Posted February 24, 2015 have a look >here and give it a try .... also >this infos may interest Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt.... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now