Ndrom Posted April 8, 2014 Share Posted April 8, 2014 (edited) Hi ! im pretty new to autoit any idea why my script not working ? #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #include <MsgBoxConstants.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 384, 90, 192, 124) $Input1 = GUICtrlCreateInput("Input1", 8, 56, 281, 21) $Button1 = GUICtrlCreateButton("Button1", 296, 8, 81, 73) $Label1 = GUICtrlCreateLabel("Label1", 8, 16, 66, 28) GUICtrlSetFont(-1, 14, 800, 0, "MS Sans Serif") GUICtrlSetColor(-1, 0x000000) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### Local $data = ClipGet() $data = $Label1 While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 ClipPut($Input1) EndSwitch WEnd Edited April 8, 2014 by Ndrom Link to comment Share on other sites More sharing options...
Palestinian Posted April 8, 2014 Share Posted April 8, 2014 You need to read the value of the $input1 I believe Link to comment Share on other sites More sharing options...
Solution Geir1983 Posted April 8, 2014 Solution Share Posted April 8, 2014 Yeah, Palestinian is correct, you need to use GuiCtrlRead to get the value from $Input1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now