Medic873 Posted March 12, 2010 Posted March 12, 2010 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
Rkey Posted March 12, 2010 Posted March 12, 2010 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")
Tvern Posted March 12, 2010 Posted March 12, 2010 Assuming there is a form (just not a named one), you could use _IEFormGetCollection($oIE,$index) where $index points to the instance of the form you want on that page.
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