Sign in to follow this  
Followers 0
ahmettben

reading data input

4 posts in this topic

reading data input problem :(

#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
$Form1 = GUICreate("Form1", 382, 256)
$site = GUICtrlCreateInput("", 16, 48, 169, 21)
$Extension = GUICtrlCreateInput("", 200, 50, 161, 21)
$Button1 = GUICtrlCreateButton("Link create", 88, 176, 195, 33)
$Label1 = GUICtrlCreateLabel("Link:", 24, 88, 27, 17)
$Label2 = GUICtrlCreateLabel("Sample Link:http://autoitscript.com", 16, 24, 167, 20)
$Label3 = GUICtrlCreateLabel("Extension:AbFrT", 200, 24, 113, 17)
$Link = GUICtrlCreateInput("", 24, 112, 337, 21)
GUISetState(@SW_SHOW)
While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit

Case $Button1
GUICtrlSetData($Link, GUICtrlRead($site,$Extension))

    EndSwitch
WEnd

Share this post


Link to post
Share on other sites



Shot in the dark:

#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
$Form1 = GUICreate("Form1", 382, 256)
$site = GUICtrlCreateInput("", 16, 48, 169, 21)
$Extension = GUICtrlCreateInput("", 200, 50, 161, 21)
$Button1 = GUICtrlCreateButton("Link create", 88, 176, 195, 33)
$Label1 = GUICtrlCreateLabel("Link:", 24, 88, 27, 17)
$Label2 = GUICtrlCreateLabel("Sample Link:http://autoitscript.com", 16, 24, 167, 20)
$Label3 = GUICtrlCreateLabel("Extension:AbFrT", 200, 24, 113, 17)
$Link = GUICtrlCreateInput("", 24, 112, 337, 21)
GUISetState(@SW_SHOW)
While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
        Case $Button1
            GUICtrlSetData($Link, GUICtrlRead($site) & GUICtrlRead($Extension))
    EndSwitch
WEnd
1 person likes this

IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.

Share this post


Link to post
Share on other sites

jdelaney Thank you, I'm very new to

Share this post


Link to post
Share on other sites

Did this resolve your problem or not? If not, you need to provide more information, so we're not guessing at what you're having an issue with.


√-1 2^3 ∑ π, and it was delicious!

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  
Followers 0