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
AutoIt
#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
could do sth but i cant find how....
Any tips???
Edited by ileandros, 10 March 2012 - 02:40 PM.




