Jump to content

_ie insert in pageweb


Recommended Posts

hi guy

i create a script for insert in pageweb  a number of telephone  but  not  work , some one can help me ?? thankz

this i a script

 

#cs ----------------------------------------------------------------------------

    AutoIt Version: 3.3.12.0
    Author:         myName

    Script Function:
    Template AutoIt script.

#ce ----------------------------------------------------------------------------

; Script Start - Add your code below here


#include <IE.au3>
#include <MsgBoxConstants.au3>
#include <StringConstants.au3>
#include <InetConstants.au3>
#include <WinAPI.au3>
#include <WinAPIsysinfoConstants.au3>
#include <WindowsConstants.au3>
#include <GDIPlus.au3>
#include <Misc.au3>
#include <INet.au3>
#include <Excel.au3>
#include <File.au3>
#include <Array.au3>

If ProcessExists("iexplore.exe") Then ; Check if the internet esplorer process is running.
    ProcessClose("iexplore.exe")
EndIf

Global $numerotell = "00373336865131"
Global $sCountry_Find = "https://globfone.com/call/"
Global $oIE = _IECreate($sCountry_Find, 0, 1, 1, 1) ; <--- 0011 invisible explorer  <--- 0111 visible explorer
_IELoadWait($oIE)
Sleep(20000)
Local $oForm2 = _IEFormGetCollection($oIE, 0)
$oFirstname = _IEFormElementGetObjByName($oForm2, "PhoneNumber")
_IEFormElementSetValue($oFirstname, $numerotell) ; First name

 

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