本帖最后由 touch_xu 于 2011-2-2 15:18 编辑
试一下,是不是楼主想要的#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
$Form1 = GUICreate("Form1", 187, 222, 192, 124)
$Button1 = GUICtrlCreateButton("查看剪切板", 56, 184, 75, 25)
$_Edit1=GUICtrlCreateEdit("", 0, 8, 185, 169)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
GUICtrlSetData($_Edit1,ClipGet(),1)
EndSwitch
WEnd
|