Jump to content
ngquanghai

Set Value to an input

Recommended Posts

ngquanghai
#cs ----------------------------------------------------------------------------

 AutoIt Version: 3.3.14.5
 Author:         myName

 Script Function:
    Template AutoIt script.

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

; Script Start - Add your code below here
#include <ButtonConstants.au3>
#include <ie.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 615, 438, 192, 124)
$link = "http://www.nguyenquiblog.ml/"
Local $oIE = _IECreateEmbedded()
    GUICtrlCreateObj($oIE, 0, 0, 613, 340)
    _IENavigate ($oIE, $link)
    $oIE.document.body.scroll = "yes"
    $oIE.document.body.style.border = "0px"
$Button = GUICtrlCreateButton("Set Value", 0, 368, 75, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
         Case $Button
             ; Set value when I click this Button
    EndSwitch
WEnd

 

image.png

Share this post


Link to post
Share on other sites
ngquanghai

I want to set value to an input called: "access_token" when I click to the Button! Please help me

Share this post


Link to post
Share on other sites
KickStarter15

The less information and details, the lesser help you'll get in this forum. So please provide more information so that we can provide more help on your problem.


Programming is "To make it so simple that there are obviously no deficiencies" or "To make it so complicated that there are no obvious deficiencies" by C.A.R. Hoare.

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

×