用这段代码生成一个EXE文件,运行之,然后用信息获取工具,看能否获取其中的复选框、单选框、按钮1的ID。#Region ;**** 参数创建于 ACNWrapper_GUI ****
#AutoIt3Wrapper_outfile=C:\Documents and Settings\Administrator\桌面\001.exe
#EndRegion ;**** 参数创建于 ACNWrapper_GUI ****
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 215, 245, 192, 124)
$Group1 = GUICtrlCreateGroup("Group1", 8, 24, 193, 209)
$Checkbox1 = GUICtrlCreateCheckbox("Checkbox1", 16, 40, 121, 33)
$Checkbox2 = GUICtrlCreateCheckbox("Checkbox2", 16, 72, 129, 25)
$Checkbox3 = GUICtrlCreateCheckbox("Checkbox3", 16, 104, 137, 17)
$Radio1 = GUICtrlCreateRadio("Radio1", 16, 136, 153, 17)
$Radio2 = GUICtrlCreateRadio("Radio2", 16, 160, 161, 17)
$Radio3 = GUICtrlCreateRadio("Radio3", 16, 184, 169, 17)
$Button1 = GUICtrlCreateButton("Button1", 32, 200, 129, 25)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
|