Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.47 KB | None | 0 0
  1. #include <ButtonConstants.au3>
  2. #include <EditConstants.au3>
  3. #include <GUIConstantsEx.au3>
  4. #include <WindowsConstants.au3>
  5.  
  6. $Form1 = GUICreate("", 299, 66, 192, 124)
  7. $Button1 = GUICtrlCreateButton("Prüfen", 8, 32, 283, 25, $WS_GROUP)
  8. $Input1 = GUICtrlCreateInput("", 8, 8, 281, 21)
  9. GUISetState(@SW_SHOW)
  10.  
  11.  
  12.  
  13.  
  14. While 1
  15.     $nMsg = GUIGetMsg()
  16.     Switch $nMsg
  17.         Case $GUI_EVENT_CLOSE
  18.             Exit
  19.     Case $Button1
  20. $read = GUICtrlRead($input1)
  21.             MsgBox(0,"",$read)
  22.     EndSwitch
  23. WEnd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement