Jump to content

Send text to IE with no form name


Recommended Posts

Okay im working with a website and I need to send some data to a field on there website. But there is no form name located in the view source. How can I still send it.

Im currently working with the _IeAttach function will this work and if so. How can I work it properly.

Thank You

Link to comment
Share on other sites

Hi Medic,

I really depends on the format of the website you are trying to send something to.

Maybe you can work with the following function, after defining the object.

_IEPropertySet ( ByRef $o_object, $s_property, $newvalue ) with the $s_property "innertext"

; *******************************************************
; Example 1 - Open a browser with the basic example, check to see if the
;               addressbar is visible, if it is not turn it on. Then change
;               the text displayed in the statusbar
; *******************************************************
;
#include <IE.au3>
$oIE = _IE_Example ("basic")
If Not _IEPropertyGet ($oIE, "statusbar") Then _IEPropertySet ($oIE, "statusbar", True)
_IEPropertySet ($oIE, "statustext", "Look What I can Do")
Sleep(1000)
_IEPropertySet ($oIE, "statustext", "I can change the status text")
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...