Jump to content
Sign in to follow this  
faustf

winhttp jump 1° input but write in 2° input

Recommended Posts

hi  guy

i  have  a site  i  want  compile ,  in this site  i have  2 input  box , i want insert  words, only in seconds , how  is possible  do???

someone  have  some  example?? thankz

 

Share this post


Link to post
Share on other sites

Then you will either need to:

1) find a public site that can be used to demonstrate the issue

2) save the web page to an html file and post it here.

Have you looked in the help file for _IEFormElementSetValue? There are examples that you can run to see how it works.

Share this post


Link to post
Share on other sites

i try to understund  but  , i am not  good    i  have  this   answer

Skipping AU3check: Current version doesn't support the AutoIt3 v 3.3.9.5+ syntax.

--> Press Ctrl+Alt+F5 to Restart or Ctrl+Break to Stop
--> IE.au3 T3.0-1 Error from function _IEFormGetObjByName, $_IESTATUS_InvalidDataType
--> IE.au3 T3.0-1 Error from function _IEFormElementGetObjByName, $_IESTATUS_InvalidDataType
--> IE.au3 T3.0-1 Error from function _IEFormElementSetValue, $_IESTATUS_InvalidDataType

this is my code

#include <IE.au3>

Local $oIE = "192.168.1.7";_IE_Example("form")
Local $oForm = _IEFormGetObjByName($oIE, "form")
Local $oText = _IEFormElementGetObjByName($oForm, "input2")
_IEFormElementSetValue($oText, "Hey! This works!")

Share this post


Link to post
Share on other sites

You need:

Global $oIE = _IECreate("192.168.1.7")

Or if the window already exists:

Global $oIE = _IEAttach("192.168.1.7", "url")


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


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
Sign in to follow this  

×
×
  • Create New...