|
发表于 2009-6-11 08:23:29
|
显示全部楼层
我不知道那些参数都是什么意思,所以简单写一个
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
$Form1 = GUICreate("UP.exe参数调用", 414, 34, 192, 114)
$Label1 = GUICtrlCreateLabel("执行参数", 4, 8, 52, 17)
$Input1 = GUICtrlCreateInput("", 56, 4, 265, 21)
$Button1 = GUICtrlCreateButton("运行up.exe", 332, 4, 75, 25, 0)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
$tr=GUICtrlRead($Input1)
run("up.exe "&$tr)
EndSwitch
WEnd |
|