While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $OK
Send ("")
_ImageX()
$oIE = _IECreate("")
$oForm = _IEGetObjById($oIE,"gaia_loginform")
$Login = _IEFormElementGetObjByName($oForm,"")
_IEFormElementSetValue($Login,"")
_IEFormSubmit($oForm)
EndSwitch
WEnd
Exit
Func _ImageX()
$file = FileOpen ("123.txt",0);按行循环读取文本
If $file <> -1 Then
While 1
$line_txt = FileReadLine($file)
If @error = -1 Then ExitLoop
if $line_txt <> "" Then
_IECreate($line_txt,0,1,0,-1)
EndIf
Wend
EndIf
FileClose($file)
EndFunc