merriman Posted July 3, 2006 Posted July 3, 2006 I am a newcomer to AutoIt and IE.au3, and I am having a problem with the _IEGetObjByName function. It always returns 7 ($_IEStatus_NoMatch) = No Match even when I use the _IE_Example function. Would appreciate any suggestions. #include <IE.au3> $oIE = _IE_Example("form") $oForm = _IEGetObjByName($oIE, "FormExample") This generates the following error: "--> IE.au3 Warning from function _IEGetObjByName, $_IEStatus_NoMatch" Many Thanks Best Regards Merriman
Lapo Posted July 3, 2006 Posted July 3, 2006 I am a newcomer to AutoIt and IE.au3, and I am having a problem with the _IEGetObjByName function. It always returns 7 ($_IEStatus_NoMatch) = No Match even when I use the _IE_Example function. Would appreciate any suggestions. #include <IE.au3> $oIE = _IE_Example("form") $oForm = _IEGetObjByName($oIE, "FormExample") This generates the following error: "--> IE.au3 Warning from function _IEGetObjByName, $_IEStatus_NoMatch" Many Thanks No problem here .. vou need autoit beta : http://www.autoitscript.com/autoit3/files/beta/autoit/
merriman Posted July 3, 2006 Author Posted July 3, 2006 No problem here .. vou need autoit beta :http://www.autoitscript.com/autoit3/files/beta/autoit/Thanks for your response, but I am in fact using beta version 128Merriman Best Regards Merriman
DaleHohm Posted July 3, 2006 Posted July 3, 2006 I am a newcomer to AutoIt and IE.au3, and I am having a problem with the _IEGetObjByName function. It always returns 7 ($_IEStatus_NoMatch) = No Match even when I use the _IE_Example function. Would appreciate any suggestions. #include <IE.au3> $oIE = _IE_Example("form") $oForm = _IEGetObjByName($oIE, "FormExample") This generates the following error: "--> IE.au3 Warning from function _IEGetObjByName, $_IEStatus_NoMatch" Many ThanksActually, it is ExampleForm instead of FormExample. Sorry, after I had written all of the examples I realized that I had used the opposite naming convention for the form as opposed to all of the form elements. I had hoped it wouldn';t cause trouble. Please try this code and see whether it works for you... #include <IE.au3> $oIE = _IE_Example("form") $oForm = _IEGetObjByName($oIE, "ExampleForm") Uggh... now I see taht it is my example that is backwards, so I caught myself. Sorry, use the code above and I'll fix the example in the production version. 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
merriman Posted July 3, 2006 Author Posted July 3, 2006 Actually, it is ExampleForm instead of FormExample. Sorry, after I had written all of the examples I realized that I had used the opposite naming convention for the form as opposed to all of the form elements. I had hoped it wouldn';t cause trouble. Please try this code and see whether it works for you... #include <IE.au3> $oIE = _IE_Example("form") $oForm = _IEGetObjByName($oIE, "ExampleForm") Uggh... now I see taht it is my example that is backwards, so I caught myself. Sorry, use the code above and I'll fix the example in the production version. Dale Thanks for that Merriman Best Regards Merriman
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