Jump to content

winhttp jump 1° input but write in 2° input


faustf
 Share

Recommended Posts

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!")
Link to comment
Share on other sites

  • Moderators

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.

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...