Jump to content

How to set input box value without Form (IE.au3)


 Share

Recommended Posts

I want to set the value of a input, but I only have the input name and input id.  I cannot find a form in the source.  Form collection does not return any results.  

  • Is there a way to use FormElementSetValue without a form name?
  • Can I use _IEGetObjByName or _IEGetObjById?  If so, how do I set the value once I have the object?
  • Where do I go from here?
Local $oIE = _IEAttach("[Website Goes Here"])
Local $oForm = _IEFormGetCollection($oIE, 1)
Local $oQuery = _IEFormElementGetCollection($oForm, 4)
_IEFormElementSetValue($oQuery, "Set it to this")

 

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

×
×
  • Create New...