举报
$Form1 = GUICreate("示例", 225, 90, -1, -1) $Button1 = GUICtrlCreateButton("A", 8, 8, 99, 73, 0) $Button2 = GUICtrlCreateButton("B", 117, 8, 99, 73, 0) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case -3 Exit Case $Button1 Run("x:\a.exe") Case $Button2 Run("x:\b.exe") EndSwitch WEnd
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-3-6 02:26 , Processed in 0.094458 second(s), 23 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.