Jump to content

What did i do wrong ?


Go to solution Solved by Geir1983,

Recommended Posts

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