HTML 代码:<BODY background=../_themes/construc/urbtextb.gif aLink=#ff0066 link=#009900 text=#330033 vLink=#996600><BR><FONT class=lemon1 color=#000000>1、点“<FONT color=#cc3366>Browser</FONT>”按钮,找到您所要粘贴的附件:</FONT>
<P></P>
<P><FONT class=chinese color=#000000>2<SPAN class=lemon1>、选定一个文件后,点“<FONT color=#cc3366>粘贴</FONT>”按钮,将该文件贴到邮件上:</SPAN></FONT> </P>
<FORM id=form1 encType=multipart/form-data method=post name=form1 action=GetFundFile.asp><INPUT value=attchment type=hidden name=sendtype>
<TABLE cellPadding=0 cellspaceing="0">
<TBODY>
<TR>
<TD>附件1:</TD>
<TD><INPUT size=60 type=file name=FILE1></TD></TR>
<TR></TR>
<TR></TR>
<TR>
<TD></TD>
<TR>
<TD colSpan=2 align=middle><INPUT id=submit1 value=粘贴 type=submit name=submit1></TD></TR></TBODY></TABLE></FORM></BODY>
AUTOIT 代码:Local $attachFileForm = _IEFormGetObjByName($oIESelectFile,"form1") ; $oIEGetFundFile
Local $selectFileButton=_IEFormElementGetObjByName($attachFileForm,"FILE1")
Local $attchmentTextfield = _IEFormElementGetObjByName($attachFileForm,"sendtype") ;
Local $file="D:\对帐结果管理.xls"
MsgBox("","","1")
_IEAction($selectFileButton,"click")
MsgBox("","","2")
截图:
|