網頁輸入框的問題請教高手高高手
我想要在網頁的請輸入證卷代碼輸入框中輸入我想要的代碼(例如:1580)之後可以點擊"確定"
可以在點擊"下載全部CSV"這個按鈕完成下載的動作!
然後再輸入其他的代碼重複動作!!!!
目前就是無法將直接輸入該代碼請問有人可以幫助我嗎?
#include <IE.au3>
#include <WindowsConstants.au3>
#include <GUIConstantsEx.au3>
Local $sURL = "http://www.gretai.org.tw/ch/stock/aftertrading/broker_trading/brokerBS.php"
Local $hWnd = GUICreate("IE Embedded Windows", 1024, 716, 0, 0, BitOR($WS_SYSMENU, $WS_CAPTION, $WS_POPUP))
Local $oIE= _IECreateEmbedded()
$GUIActiveX = GUICtrlCreateObj($oIE, 0, 0, 1024, 700)
GUISetState()
_IENavigate($oIE, $sURL, 1)
while 1
$msg = GUIGetMsg()
Select
Case $msg =$GUI_EVENT_CLOSE
ExitLoop
EndSelect
WEnd
GUIDelete()
Exit
#include <IE.au3>
#include <WindowsConstants.au3>
#include <GUIConstantsEx.au3>
Local $sURL = "http://www.gretai.org.tw/ch/stock/aftertrading/broker_trading/brokerBS.php"
Local $hWnd = GUICreate("IE Embedded Windows", 1024, 716, 0, 0, BitOR($WS_SYSMENU, $WS_CAPTION, $WS_POPUP))
Local $oIE= _IECreateEmbedded()
$GUIActiveX = GUICtrlCreateObj($oIE, 0, 0, 1024, 700)
GUISetState()
_IENavigate($oIE, $sURL, 1)
$input = _IEGetObjByName($oIE,'stk_code')
$input.value = 1580
$submit = _IEGetObjByName($oIE,'Submit')
$submit.click
_IELoadWait($oIE)
_IEImgClick($oIE,'/ch/images/icon_download_csv_all.gif','src')
while 1
$msg = GUIGetMsg()
Select
Case $msg =$GUI_EVENT_CLOSE
ExitLoop
EndSelect
WEnd
GUIDelete()
Exit
页:
[1]