tradertt Posted February 23, 2008 Share Posted February 23, 2008 <TD class=controlbar><TEXTAREA id=vB_Editor_001_textarea dir=ltr style="DISPLAY: none; WIDTH: 540px; HEIGHT: 250px" tabIndex=1 name=message rows=10 cols=60></TEXTAREA><IFRAME id=vB_Editor_001_iframe style="WIDTH: 540px; HEIGHT: 250px" tabIndex=1></IFRAME></TD> This is what I got from debug toolbar $oFrame = _IEframegetobjbyname($oIE,"vB_Editor_001_iframe") $oForm = _ieformgetobjbyname($oFrame,"vB_Editor_001_textarea") $PostEdit = _ieformelementgetobjbyname($oForm,"message") _IEFormElementSetValue($PostEdit,"SOMETHING TO BE WRITTEN HERE") This is what I tried. However to no avail. Debug mode on 0063: 0-0: $oFrame = _IEframegetobjbyname($oIE,"vB_Editor_001_iframe") 0064: 0-0: $oForm = _ieformgetobjbyname($oFrame,"vB_Editor_001_textarea") --> IE.au3 V2.3-1 Warning from function _IEFormGetObjByName, $_IEStatus_NoMatch 0065: 7-0: $PostEdit = _ieformelementgetobjbyname($oForm,"message") --> IE.au3 V2.3-1 Error from function _IEFormElementGetObjByName, $_IEStatus_InvalidDataType Free Flash Games Online | Car Modifications Articles | Free Arcade Games Online Link to comment Share on other sites More sharing options...
ReFran Posted February 23, 2008 Share Posted February 23, 2008 (edited) "....<IFRAME id=vB_Editor_001_iframe style="WIDTH: 540px; HEIGHT: 250px" tabIndex=1></IFRAME></TD> ".... $oFrame = _IEframegetobjbyname($oIE,"vB_Editor_001_iframe") Mmmh, helpfile says: $s_name Name = of the Frame you wish to match you stated the ID. Perhaps you can use _IEFrameGetCollection and go over the index. HTH, Reinhard PS: Do you use already DebugBar (http://www.debugbar.com/). It's a big help. Edited February 23, 2008 by ReFran Link to comment Share on other sites More sharing options...
DaleHohm Posted February 23, 2008 Share Posted February 23, 2008 Try turning on _IEErrorHandlerRegister() to see if anyting surprising is writen to the console... 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...
tradertt Posted February 24, 2008 Author Share Posted February 24, 2008 _IEErrorHandlerRegister() Sorry but where do I put the IEErrorHandlerRegister at ? Free Flash Games Online | Car Modifications Articles | Free Arcade Games Online Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted February 27, 2008 Moderators Share Posted February 27, 2008 _IEErrorHandlerRegister()Sorry but where do I put the IEErrorHandlerRegister at ?Just before _IECreate() will work fine. Link to comment Share on other sites More sharing options...
rodex Posted February 27, 2008 Share Posted February 27, 2008 Hi I'm also facing problem with getting data from iframe,which was embedded in DIV tag. below are observations. If iframe has id, then you need to use _IEGetObjById . but when query the inside form element in html page , which was inside the iframe we are not getting form element. we are getting below error --> IE.au3 V2.3-1 Warning from function _IEFormGetObjByName, $_IEStatus_NoMatch if an body have the solution please let me know. 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