#include <ButtonConstants.au3>
#include <GUIConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$FORM1 = GUICreate("开卡辅助", 282, 105, 192, 124)
$BUTTON1 = GUICtrlCreateButton("优惠卡辅助", 12, 17, 121, 63)
$BUTTON2 = GUICtrlCreateButton("通宵卡辅助", 146, 18, 121, 63)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$NMSG = GUIGetMsg()
Switch $NMSG
Case $GUI_EVENT_CLOSE
Exit
Case $BUTTON1
MsgBox(0, "提示", "现在开始请不要卖临时卡,否则一律都是优惠卡!", 10)
GUISetState(@SW_HIDE)
Run("e:\basc\exitfz.exe")
While 1
WinWaitActive("激活临时卡", "", "")
ControlCommand("激活临时卡", "", "TComboBox1", "SelectString", "[6]元{240}分钟 08:00~12:00 默认区域")
ControlClick("激活临时卡", "", "确认")
WEnd
Case $BUTTON2
MsgBox(0, "提示", "现在开始请不要卖临时卡,否则一律都是通宵卡!", 10)
GUISetState(@SW_HIDE)
Run("e:\basc\exitfz.exe")
While 1
WinWaitActive("激活临时卡", "", "")
ControlCommand("激活临时卡", "", "TComboBox1", "SelectString", "[12]元{540}分钟 23:00~08:00 默认区域")
ControlClick("激活临时卡", "", "确认")
WEnd
ExitLoop
Exit
EndSwitch
WEnd
|