Rraney Posted May 18, 2006 Share Posted May 18, 2006 How does one use the '_IEFormImageClick()' in <IE.au3> ? here is an example page source I have. <a title=" Next " style="font-family:tahoma;font-color:#900000;font-size:11px;" href="java script:nextpage('2')"><img src="images/home_next.jpg" border="0" align="top"></a> and I would like to have it click on the next.jpg button. What I have used, and failed is: _IEFormImageClick ( $oIE, "home_next.jpg", "name") and all I get back is >Running:(3.1.1.122):C:\Program Files\AutoIt3\beta\autoit3.exe "C:\Documents and Settings\rsr\Desktop\devappTest1.au3" --> IE.au3 Warning from function _IEFormImageClick, $_IEStatus_NoMatch Link to comment Share on other sites More sharing options...
Valuater Posted May 18, 2006 Share Posted May 18, 2006 try this _IEFormImageClick ( $oIE, "home_next.jpg") ; or _IEFormImageClick ( $oIE, "images/home_next.jpg") "name" does not work... its an "src" 8) Link to comment Share on other sites More sharing options...
Rraney Posted May 18, 2006 Author Share Posted May 18, 2006 The requested 'try' failed. With _IEFormImageClick ( $oIE, "home_next.jpg") ; or _IEFormImageClick ( $oIE, "images/home_next.jpg") oÝ÷ Ø-Y`z×(uî¶Féçx9ó7×]vÛyð.|ÓÝ®+jabë4÷`.¶-ßOvmëZÓݺÚ"·w±{~çÍ=Ø:ºg§¶Æ§u'¶)à³Ov²§z½=Ø7¬Ú)Óݦj)Z»}øýÊy(Zꮢקjg "name" does not work... its an "src" 8) Link to comment Share on other sites More sharing options...
DaleHohm Posted May 18, 2006 Share Posted May 18, 2006 How does one use the '_IEFormImageClick()' in <IE.au3> ? here is an example page source I have. <a title=" Next " style="font-family:tahoma;font-color:#900000;font-size:11px;" href="java script:nextpage('2')"><img src="images/home_next.jpg" border="0" align="top"></a>Wrong function. _IEFormImageClick() is for <input type="image" elements. You want _IEImgClick() instead. Dale autoitaddicted 1 Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
Valuater Posted May 18, 2006 Share Posted May 18, 2006 >Running:(3.1.1.122):C:\Program Files\AutoIt3\beta\autoit3.exe "C:\Documents and Settings\rsr\Desktop\devappTest1.au3" --> IE.au3 Warning from function _IEFormImageClick, $_IEStatus_NoMatch I still get >Running:(3.1.1.122):C:\Program Files\AutoIt3\beta\autoit3.exe "C:\Documents and Settings\shaner\Desktop\mail.au3" - Shane those are two completely different errors... and from two different files 8) Link to comment Share on other sites More sharing options...
Rraney Posted May 18, 2006 Author Share Posted May 18, 2006 Sorry, this is what happens when I try to post something when Im close to falling over in RL from lack of sleep. I renamed the file to keep my orginal, my stupidity for not changing the file name in error post here to reflect the same file name. I'll post the full error later today if it happens. - R Shanethose are two completely different errors... and from two different files8) Link to comment Share on other sites More sharing options...
DaleHohm Posted May 18, 2006 Share Posted May 18, 2006 Sorry, this is what happens when I try to post something when Im close to falling over in RL from lack of sleep. I renamed the file to keep my orginal, my stupidity for not changing the file name in error post here to reflect the same file name. I'll post the full error later today if it happens. - R ShaneBefore you post the script, make certain that you read my reply 3 back.Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
Rraney Posted May 19, 2006 Author Share Posted May 19, 2006 Thank you! That worked. Wrong function._IEFormImageClick() is for <input type="image" elements. You want _IEImgClick() instead.Dale Link to comment Share on other sites More sharing options...
autoitaddicted Posted April 26, 2013 Share Posted April 26, 2013 Wrong function._IEFormImageClick() is for <input type="image" elements. You want _IEImgClick() instead.Dalesaved my life again. thanks dale 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