做了一个FTP的登录工具,但是不能刷新请高手指点.
#include <IE.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <ButtonConstants.au3>
$pass=InputBox("安全提示!","请输入密码!","","#")
$Form1 = GUICreate("Form1", 633, 424, -1, -1)
If $pass="" Then Exit
$oIE = _IECreateEmbedded()
GUICtrlCreateObj($oIE,0,0,632,387)
$oIE.navigate("ftp://**********")
$Button1 = GUICtrlCreateButton("刷 新",280,390,100,30)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
$oIE.action($oIE,"refresh")
EndSwitch
WEnd |