Jump to content

Recommended Posts


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)

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
        Case $Button1
   $oIE = _IECreate("http://")
   $oForm = _IEFormGetObjByName($oIE, "text_form")
   GUICtrlSetData($List2, $oForm)

I think a

For... to...next

could do sth but i cant find how....

Any tips???

Edited by ileandros

I feel nothing.It feels great.

Link to post
Share on other sites

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.


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 post
Share on other sites


_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 post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...