回复 4# smartzbs $b = True
If $b = True Then FileInstall("C:\test.bmp", "D:\mydir\test.bmp")
看过了还是不太明白,#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("QQ菜单", 347, 311, 192, 114)
$Pic1 = GUICtrlCreatePic("D:\QQ.JPG", -32, -40, 372, 348)
GUICtrlSetState(-1, $GUI_DISABLE)
$Button1 = GUICtrlCreateButton("QQ2010", 120, 184, 75, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
Run("D:\聊天冲浪\腾讯QQ2010\Bin\QQ.exe"); 打开QQ程序
Case $Form1
EndSwitch
WEnd
$Pic1 = GUICtrlCreatePic("D:\QQ.JPG", -32, -40, 372, 348)这个是koda生成的,麻烦举个例子好吗?谢谢 |