ileandros Posted March 10, 2012 Share Posted March 10, 2012 (edited) Hello, i got 2 edit boxes. They are both empty. When i press the $Button1 as you see it creates navigation window, it gets the object by name(it is an edit box for text), it reads and then sends the $edit1 to the object. What i want to do is after this to set the value/data of the ($oForm) to the $edit2 #include <IE.au3> #include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <GUIListBox.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #include <StaticConstants.au3> #include <File.au3> $Form1 = GUICreate("Form1", 590, 380, 192, 124) $Button1 = GUICtrlCreateButton("All", 256, 168, 75, 25) $List1 = GUICtrlCreateEdit(" ", 48, 40, 185, 305) $List2 = GUICtrlCreateEdit("", 360, 48, 185, 292) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 $oIE = _IECreate("http://") $oForm = _IEFormGetObjByName($oIE, "text_form") Send(GUICtrlRead($List1)) Sleep(2000) GUICtrlRead($oForm) GUICtrlSetData($List2, $oForm) EndSwitch WEnd I think a For... to...next could do sth but i cant find how.... Any tips??? Edited March 10, 2012 by ileandros I feel nothing.It feels great. Link to comment Share on other sites More sharing options...
ileandros Posted March 11, 2012 Author Share Posted March 11, 2012 So does anyone knows how can i read an edit box at the internet??? I feel nothing.It feels great. Link to comment Share on other sites More sharing options...
ileandros Posted March 12, 2012 Author Share Posted March 12, 2012 Bump! Anyone knows how to read an _IE editbox.??? I have the name of it through the source code but how can i get the controll of it??? I want my edit box to read and display the IE edit box... I feel nothing.It feels great. Link to comment Share on other sites More sharing options...
DaleHohm Posted March 12, 2012 Share Posted March 12, 2012 There is no such thing as an IE EditBox. We can't see what you are trying to do because you do not include a URL in your code. You also overcomplicate your example with AutoIt GUI code. Try cutting your code back to focus just on what your question is and find an example somewhere else if you can't use the real URL. As a guess, look at _IEFormElementGetValue, but no one will work any harder at this until you do. 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...
ileandros Posted March 17, 2012 Author Share Posted March 17, 2012 Dale_IEFormElementGetValue sets the data at the editbox. Which means writes at the edit box.I know that and i already done it. What i want to do is to read the data i have set (read what there is at the edit box) and then display it at my editbox.I know that there is not such thing as _IE editbox. Its an editbox at a navigation site. I Named it like this and maybe it was mistake. I feel nothing.It feels great. 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