Jump to content
Sign in to follow this  
yjing1982

IE form auto fill

Recommended Posts

I would like to perform the Auto-fill on IE. but when I use _IEFormGetCollection(), it just returns 30 forms, but all name is "0". Now I want to get the handle for the form and filled into the data, What should I do for the next step. the below forum is for returning the quantity and form. name, and the attached files is for what I want to fill in, and the HTML source code.

$oForms = _IEFormGetCollection($oIE)
MsgBox(0,"",@extended)
For $oForm In $oForms
    MsgBox(0,"",$oForm.name)
Next

 Desktop.rar

Edited by yjing1982

Share this post


Link to post
Share on other sites

I would like to perform the Auto-fill on IE. but when I use _IEFormGetCollection(), it just returns 30 forms, but all name is "0". Now I want to get the handle for the form and filled into the data, What should I do for the next step. the below forum is for returning the quantity and form. name, and the attached files is for what I want to fill in, and the HTML source code.

$oForms = _IEFormGetCollection($oIE)
MsgBox(0,"",@extended)
For $oForm In $oForms
    MsgBox(0,"",$oForm.name)
Next

 Desktop.rar

parts of  the source code

 
<style> 
INPUT { BACKGROUND: #ffffff; BORDER-BOTTOM: #305B8B 1px solid; BORDER-LEFT: #305B8B 1px solid; BORDER-RIGHT: #305B8B 1px solid; BORDER-TOP: #305B8B 1px solid; COLOR: #305B8B; FONT-SIZE: 12px; HEIGHT: 20px; PADDING-TOP: 3px}
A {
    COLOR: #000000; TEXT-DECORATION: underline
}
A:hover {
    TEXT-DECORATION: none
}
body { 
SCROLLBAR-FACE-COLOR: #396DA5; SCROLLBAR-HIGHLIGHT-COLOR: #305B8B; 
SCROLLBAR-SHADOW-COLOR: #799AE1; SCROLLBAR-DARKSHADOW-COLOR: #799AE1; 
SCROLLBAR-3DLIGHT-COLOR: #FFFFFF; SCROLLBAR-ARROW-COLOR: #FFFFFF;
SCROLLBAR-TRACK-COLOR: #FFFFFF;
}
SELECT {
    BORDER-RIGHT: 0.2em groove; BORDER-TOP: 0.2em groove; FONT-SIZE: 0.7em; BORDER-LEFT: 0.2em groove; BORDER-BOTTOM: 0.2em groove; FONT-FAMILY: tahoma,verdana,geneva,sans-serif
}
a.INPUT { }
</style>
<html>
<head>
<title>Magnum2x</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style> 
INPUT.text { BACKGROUND: #ffe0b3; BORDER-BOTTOM: #af6700 1px solid; BORDER-LEFT: #af6700 1px solid; BORDER-RIGHT: #af6700 1px solid; BORDER-TOP: #af6700 1px solid; COLOR: #af6700; FONT-SIZE: 12px; HEIGHT: 18px; PADDING-TOP: 3px}
INPUT.ipDisableStyle { BACKGROUND: #f5f5f5; BORDER-BOTTOM: #a9a9a9 1px solid; BORDER-LEFT: #a9a9a9 1px solid; BORDER-RIGHT: #a9a9a9 1px solid; BORDER-TOP: #a9a9a9 1px solid; COLOR: #af6700; FONT-SIZE: 12px; HEIGHT: 18px; PADDING-TOP: 3px}
.button1 {
    BORDER-RIGHT: #af6700 1px solid; BORDER-TOP: #ffd16e 1px solid; FONT-SIZE: 12px; BACKGROUND: #ff9600; BORDER-LEFT: #ffd16e 1px solid; COLOR: #964700; PADDING-TOP: 3px; BORDER-BOTTOM: #af6700 1px solid; HEIGHT: 21px
}
.button
    {
        border-right: #af6700 1px solid;
        padding-right: 2px;
        border-top: #af6700 1px solid;
        padding-left: 2px;
        font-size: 12px;
        FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffe4e1, EndColorStr=#ff8c00);
        border-left: #af6700 1px solid;
        cursor: hand;
        color: #964700; 
        padding-top: 2px;
        border-bottom: #af6700 1px solid;
    }
SELECT.stext { BACKGROUND: #ffe0b3; BORDER-BOTTOM: #af6700 1px solid; BORDER-LEFT: #af6700 1px solid; BORDER-RIGHT: #af6700 1px solid; BORDER-TOP: #af6700 1px solid; COLOR: #af6700; FONT-SIZE: 12px; HEIGHT: 18px; PADDING-TOP: 3px}
.DisabledTextarea{
    border:1px solid #999;
    width: 226px;
    FONT-SIZE: 12px; 
    SCROLLBAR-FACE-COLOR: #a9a9a9;
    SCROLLBAR-HIGHLIGHT-COLOR: #a9a9a9;
    SCROLLBAR-ARROW-COLOR: #a9a9a9;
}
</style>
</head>
 
<body bgcolor="#FFFFFF" text="#000000">
<table width="100%" align="center" border="0" bgcolor="black" cellspacing="1" cellpadding="3" name="PM SHEET" style="font-size:9pt">
  <tr bgcolor="#FFFFFF"> 
    <td colspan="4" style="font-size:10pt"> <b><font color="#FF0000">PM SHEET 
      (Magnum2x)</font></b> </td>
  </tr>
  <tr bgcolor="#FFFFFF"> 
    <td colspan="4"><font color="#0000FF">YEAR 2015</font></td>
  </tr>
  <tr align="center"  bgcolor="#dddddd"> 
    <td><strong>MODEL</strong></td>
    <td><strong>SERIAL NO</strong></td>
    <td><strong>INSTALL DATE</strong></td>
    <td><strong>MACHINE NO</strong></td>
  </tr>
  <tr align="center" bgcolor="#FFFFFF"> 
    
    <td>Magnum 2X</td>
    <td>847108</td>
    <td>2013-1-18</td>
    <td>TS-MAG-010</td>
    
  </tr>
  <tr bgcolor="#FFFFFF"> 
    <td colspan="4">&nbsp;</td>
  </tr>
  <tr bgcolor="#FFFFFF"> 
    <td colspan="4">
    
         
      <p><font color="#0000FF">
       
           WEEKLY
        <br>
       
          N/A
          
       
       </font>
      </p>
      <p>
      
      </p>
      
     
         
      <p><font color="#0000FF">
       
           A.MONTHLY
        <br>
       
       &nbsp;&nbsp;1..Air filter cleaning<br>
       
       &nbsp;&nbsp;2.System critical files backup to server<br>
       
       &nbsp;&nbsp;3.Run systemdiag<br>
       
       &nbsp;&nbsp;4.Run Voltage calibration / verification<br>
       
       &nbsp;&nbsp;5..ESD check between tester shell and facility GND less than 10ohm<br>
       
       &nbsp;&nbsp;6.Inspect if there is any broken,loosen,stuck pogo pins, replace bad one<br>
       
       &nbsp;&nbsp;7.Input EPM system <br>
              
      <table border="0" width="100%"  bgcolor="black" cellspacing="1" cellpadding="3" style="font-size:9pt">
        <tr align="center" bgcolor="#CCCCCC"> 
          <td></td>
          <td><b>ITEM</b></td>
          <td><b>PMDATE</b></td>
          <td><b>SCHEDULED DATE</b></td>
          <td><b>RESULTS</b></td>
          <td><b>ACTION</b></td>
          <td><b>PM SORT</b></td>
          <td><b>CAL.DATA</b></td>
          <td><b>REMARK</b></td>
          <td><b>RESPONSIBILITY</b></td>
          <td><b>EFFECTIVE DATE</b></td>
        </tr>
 
        <form action="GroupCheck.asp" method="post">
        <input type="hidden" value="3650" name="machineId"> 
        <input type="hidden" value="7" name="itemCount">
        <input type="hidden" value="1" name="itemType">
        <input type="hidden" value="TS-MAG-010" name="machineno">
        <input type="hidden" value="14230" name="scheduleId">
        
            
          <tr align="center" bgcolor="#E8E8E8"> 
            
            <td rowspan="7"><font color="red"> 
              
              M1
              </font></td>
            
            <td rowspan="7"> 
              
              <input type="SUBMIT" class="button" value="SUBMIT101" name="SUBMIT"> 
              <a name="#1"></a><input type="hidden" value="1" name="z_id">
              <input type="hidden" value="627970" name="check_id"> <input type="hidden" value="1" name="type_id"> 
              <input type="hidden" value="3650" name="id"> <input type="hidden" value="271" name="pid"><input type="hidden" value="1" name="frequency"> 
              <input type="hidden" value="Magnum2x" name="pmtype"><input type="hidden" value="mod" name="upType"> </td>
            
            <td rowspan="7">
              <input type="text" value="2015-1-16" class="text" size="8" name="pmdate" readonly>
            </td>
            <td rowspan="7">             
              2015-1-16
              <input type="hidden" value="2015-1-16" class="text" size="8" name="scheduled_date">
            </td>
            
            <input type="hidden" value="627970" name="historyPMId1">
            <input type="hidden" value="1" name="itemNo1">
            <td><font color="#0000FF">1</font>&nbsp;<input type="text" value="ok" class="text" size="24" name="results1"></td>
            <td><textarea name="action1" cols="30" rows="2" wrap="VIRTUAL" class="text" >cleaned</textarea></td>
            <td>
                <select name="selectCalibrationSort1" class="stext" >
                    <option value="0" >--SELECT--</option>
                    <option value="1" selected>Normal PM item</option>
                    <option value="2" >Calibrate PM item</option>
                </select>
            </td>
            <td>
            
                N/A
            
            </td>
            <td><input type="text" value="" class="text" size="12" name="remark1" ></td>
            <td><input type="text" value="yjing1982" class="text" size="16" name="responsibility1"></td>
            <td>2012-10-16</td>
          </tr>
        
        
            
          <tr align="center" bgcolor="#E8E8E8"> 
            
            <input type="hidden" value="627971" name="historyPMId2">
            <input type="hidden" value="2" name="itemNo2">
            <td><font color="#0000FF">2</font>&nbsp;<input type="text" value="ok" class="text" size="24" name="results2"></td>
            <td><textarea name="action2" cols="30" rows="2" wrap="VIRTUAL" class="text" >backup</textarea></td>
            <td>
                <select name="selectCalibrationSort2" class="stext" >
                    <option value="0" >--SELECT--</option>
                    <option value="1" selected>Normal PM item</option>
                    <option value="2" >Calibrate PM item</option>
                </select>
            </td>
            <td>
            
                N/A
            
            </td>
            <td><input type="text" value="" class="text" size="12" name="remark2" ></td>
            <td><input type="text" value="yjing1982" class="text" size="16" name="responsibility2"></td>
            <td>2012-10-16</td>
          </tr>
        
        
            
          <tr align="center" bgcolor="#E8E8E8"> 
            
            <input type="hidden" value="627972" name="historyPMId3">
            <input type="hidden" value="3" name="itemNo3">
            <td><font color="#0000FF">3</font>&nbsp;<input type="text" value="pass" class="text" size="24" name="results3"></td>
            <td><textarea name="action3" cols="30" rows="2" wrap="VIRTUAL" class="text" >Run systemdiag
</textarea></td>
            <td>
                <select name="selectCalibrationSort3" class="stext" >
                    <option value="0" >--SELECT--</option>
                    <option value="1" selected>Normal PM item</option>
                    <option value="2" >Calibrate PM item</option>
                </select>
            </td>
            <td>
            
                N/A
            
            </td>
            <td><input type="text" value="" class="text" size="12" name="remark3" ></td>
            <td><input type="text" value="yjing1982" class="text" size="16" name="responsibility3"></td>
            <td>2012-10-16</td>
          </tr>
        
        
            
          <tr align="center" bgcolor="#E8E8E8"> 
            
            <input type="hidden" value="627973" name="historyPMId4">
            <input type="hidden" value="4" name="itemNo4">
            <td><font color="#0000FF">4</font>&nbsp;<input type="text" value="pass" class="text" size="24" name="results4"></td>
            <td><textarea name="action4" cols="30" rows="2" wrap="VIRTUAL" class="text" >Run Voltage calibration / verification
</textarea></td>
            <td>
                <select name="selectCalibrationSort4" class="stext" >
                    <option value="0" >--SELECT--</option>
                    <option value="1" selected>Normal PM item</option>
                    <option value="2" >Calibrate PM item</option>
                </select>
            </td>
            <td>
            
                N/A
            
            </td>
            <td><input type="text" value="" class="text" size="12" name="remark4" ></td>
            <td><input type="text" value="yjing1982" class="text" size="16" name="responsibility4"></td>
            <td>2012-10-16</td>
          </tr>
        
        
            
          <tr align="center" bgcolor="#E8E8E8"> 
            
            <input type="hidden" value="627974" name="historyPMId5">
            <input type="hidden" value="5" name="itemNo5">
            <td><font color="#0000FF">5</font>&nbsp;<input type="text" value="1.2ohm" class="text" size="24" name="results5"></td>
            <td><textarea name="action5" cols="30" rows="2" wrap="VIRTUAL" class="text" >checked</textarea></td>
            <td>
                <select name="selectCalibrationSort5" class="stext" >
                    <option value="0" >--SELECT--</option>
                    <option value="1" selected>Normal PM item</option>
                    <option value="2" >Calibrate PM item</option>
                </select>
            </td>
            <td>
            
                N/A
            
            </td>
            <td><input type="text" value="" class="text" size="12" name="remark5" ></td>
            <td><input type="text" value="yjing1982" class="text" size="16" name="responsibility5"></td>
            <td>2012-10-16</td>
          </tr>
        
        
            
          <tr align="center" bgcolor="#E8E8E8"> 
            
            <input type="hidden" value="627975" name="historyPMId6">
            <input type="hidden" value="6" name="itemNo6">
            <td><font color="#0000FF">6</font>&nbsp;<input type="text" value="ok" class="text" size="24" name="results6"></td>
            <td><textarea name="action6" cols="30" rows="2" wrap="VIRTUAL" class="text" >inspected</textarea></td>
            <td>
                <select name="selectCalibrationSort6" class="stext" >
                    <option value="0" >--SELECT--</option>
                    <option value="1" selected>Normal PM item</option>
                    <option value="2" >Calibrate PM item</option>
                </select>
            </td>
            <td>
            
                N/A
            
            </td>
            <td><input type="text" value="" class="text" size="12" name="remark6" ></td>
            <td><input type="text" value="yjing1982" class="text" size="16" name="responsibility6"></td>
            <td>2012-10-16</td>
          </tr>
        
        
            
          <tr align="center" bgcolor="#E8E8E8"> 
            
            <input type="hidden" value="627976" name="historyPMId7">
            <input type="hidden" value="7" name="itemNo7">
            <td><font color="#0000FF">7</font>&nbsp;<input type="text" value="ok" class="text" size="24" name="results7"></td>
            <td><textarea name="action7" cols="30" rows="2" wrap="VIRTUAL" class="text" >input</textarea></td>
            <td>
                <select name="selectCalibrationSort7" class="stext" >
                    <option value="0" >--SELECT--</option>
                    <option value="1" selected>Normal PM item</option>
                    <option value="2" >Calibrate PM item</option>
                </select>
            </td>
            <td>
            
                N/A
            
            </td>
            <td><input type="text" value="" class="text" size="12" name="remark7" ></td>
            <td><input type="text" value="yjing1982" class="text" size="16" name="responsibility7"></td>
            <td>2012-10-16</td>
          </tr>
        
        
        </form>

--------------------------------------------------------------------------------------------------------------------------------------------------

       B.QUARTERLY
        <br>
       
       &nbsp;&nbsp;1.DC power supply voltage measure and adjust<br>
       
       &nbsp;&nbsp;2.Run voltage calibration/verification<br>
       
       &nbsp;&nbsp;3.Run timing calibration/verification<br>
       
       &nbsp;&nbsp;4.Run TDR calibration for DUT board <br>
              
      <table border="0" width="100%"  bgcolor="black" cellspacing="1" cellpadding="3" style="font-size:9pt">
        <tr align="center" bgcolor="#CCCCCC"> 
          <td></td>
          <td><b>ITEM</b></td>
          <td><b>PMDATE</b></td>
          <td><b>SCHEDULED DATE</b></td>
          <td><b>RESULTS</b></td>
          <td><b>ACTION</b></td>
          <td><b>PM SORT</b></td>
          <td><b>CAL.DATA</b></td>
          <td><b>REMARK</b></td>
          <td><b>RESPONSIBILITY</b></td>
          <td><b>EFFECTIVE DATE</b></td>
        </tr>
 
        <form action="GroupCheck.asp" method="post">
        <input type="hidden" value="3650" name="machineId"> 
        <input type="hidden" value="4" name="itemCount">
        <input type="hidden" value="2" name="itemType">
        <input type="hidden" value="TS-MAG-010" name="machineno">
        <input type="hidden" value="14230" name="scheduleId">
        
            
          <tr align="center" bgcolor="#E8E8E8"> 
            
            <td rowspan="4"><font color="red"> 
              
              Q1
              </font></td>
            
            <td rowspan="4"> 
              
              <input type="SUBMIT" class="button" value="SUBMIT201" name="SUBMIT"> 
              <a name="#92"></a><input type="hidden" value="92" name="z_id">
              <input type="hidden" value="668548" name="check_id"> <input type="hidden" value="2" name="type_id"> 
              <input type="hidden" value="3650" name="id"> <input type="hidden" value="271" name="pid"><input type="hidden" value="1" name="frequency"> 
              <input type="hidden" value="Magnum2x" name="pmtype"><input type="hidden" value="mod" name="upType"> </td>
            
            <td rowspan="4">
              <input type="text" value="2015-3-29" class="text" size="8" name="pmdate" readonly>
            </td>
            <td rowspan="4">             
              2015-3-29
              <input type="hidden" value="2015-3-29" class="text" size="8" name="scheduled_date">
            </td>
            
            <input type="hidden" value="668548" name="historyPMId1">
            <input type="hidden" value="1" name="itemNo1">
            <td><font color="#0000FF">1</font>&nbsp;<input type="text" value="ok" class="text" size="24" name="results1"></td>
            <td><textarea name="action1" cols="30" rows="2" wrap="VIRTUAL" class="text" >measure and adjust
</textarea></td>
            <td>
                <select name="selectCalibrationSort1" class="stext" >
                    <option value="0" >--SELECT--</option>
                    <option value="1" selected>Normal PM item</option>
                    <option value="2" >Calibrate PM item</option>
                </select>
            </td>
            <td>
            
                N/A
            
            </td>
            <td><input type="text" value="" class="text" size="12" name="remark1" ></td>
            <td><input type="text" value="yjing1982" class="text" size="16" name="responsibility1"></td>
            <td>2012-10-16</td>
          </tr>
        
        
            
          <tr align="center" bgcolor="#E8E8E8"> 
            
            <input type="hidden" value="668549" name="historyPMId2">
            <input type="hidden" value="2" name="itemNo2">
            <td><font color="#0000FF">2</font>&nbsp;<input type="text" value="pass" class="text" size="24" name="results2"></td>
            <td><textarea name="action2" cols="30" rows="2" wrap="VIRTUAL" class="text" >Run voltage calibration/verification</textarea></td>
            <td>
                <select name="selectCalibrationSort2" class="stext" >
                    <option value="0" >--SELECT--</option>
                    <option value="1" selected>Normal PM item</option>
                    <option value="2" >Calibrate PM item</option>
                </select>
            </td>
            <td>
            
                N/A
            
            </td>
            <td><input type="text" value="" class="text" size="12" name="remark2" ></td>
            <td><input type="text" value="yjing1982" class="text" size="16" name="responsibility2"></td>
            <td>2012-10-16</td>
          </tr>
        
        
            
          <tr align="center" bgcolor="#E8E8E8"> 
            
            <input type="hidden" value="668550" name="historyPMId3">
            <input type="hidden" value="3" name="itemNo3">
            <td><font color="#0000FF">3</font>&nbsp;<input type="text" value="pass" class="text" size="24" name="results3"></td>
            <td><textarea name="action3" cols="30" rows="2" wrap="VIRTUAL" class="text" >Run timing calibration/verification</textarea></td>
            <td>
                <select name="selectCalibrationSort3" class="stext" >
                    <option value="0" >--SELECT--</option>
                    <option value="1" selected>Normal PM item</option>
                    <option value="2" >Calibrate PM item</option>
                </select>
            </td>
            <td>
            
                N/A
            
            </td>
            <td><input type="text" value="" class="text" size="12" name="remark3" ></td>
            <td><input type="text" value="yjing1982" class="text" size="16" name="responsibility3"></td>
            <td>2012-10-16</td>
          </tr>
        
        
            
          <tr align="center" bgcolor="#E8E8E8"> 
            
            <input type="hidden" value="668551" name="historyPMId4">
            <input type="hidden" value="4" name="itemNo4">
            <td><font color="#0000FF">4</font>&nbsp;<input type="text" value="pass" class="text" size="24" name="results4"></td>
            <td><textarea name="action4" cols="30" rows="2" wrap="VIRTUAL" class="text" >Run TDR calibration</textarea></td>
            <td>
                <select name="selectCalibrationSort4" class="stext" >
                    <option value="0" >--SELECT--</option>
                    <option value="1" selected>Normal PM item</option>
                    <option value="2" >Calibrate PM item</option>
                </select>
            </td>
            <td>
            
                N/A
            
            </td>
            <td><input type="text" value="" class="text" size="12" name="remark4" ></td>
            <td><input type="text" value="yjing1982" class="text" size="16" name="responsibility4"></td>
            <td>2012-10-16</td>
          </tr>
        
        
        </form>
        
        <form action="GroupCheck.asp" method="post">
        <input type="hidden" value="3650" name="machineId"> 
        <input type="hidden" value="4" name="itemCount">
        <input type="hidden" value="2" name="itemType">
        <input type="hidden" value="TS-MAG-010" name="machineno">
        <input type="hidden" value="14230" name="scheduleId">
        --------------------------------------------------------------------------------------------------------------------------------

   E.Post PM Check

  <br>

  

  &nbsp;&nbsp;1.Post PM check for data validation<br>

    

      <table border="0" width="100%"  bgcolor="black" cellspacing="1" cellpadding="3" style="font-size:9pt">

        <tr align="center" bgcolor="#CCCCCC"> 

          <td></td>

          <td><b>ITEM</b></td>

          <td><b>PMDATE</b></td>

          <td><b>SCHEDULED DATE</b></td>

          <td><b>RESULTS</b></td>

          <td><b>ACTION</b></td>

          <td><b>PM SORT</b></td>

          <td><b>CAL.DATA</b></td>

          <td><b>REMARK</b></td>

          <td><b>RESPONSIBILITY</b></td>

          <td><b>EFFECTIVE DATE</b></td>

        </tr>

 

        <form action="GroupCheck.asp" method="post">

        <input type="hidden" value="3650" name="machineId"> 

        <input type="hidden" value="1" name="itemCount">

        <input type="hidden" value="5" name="itemType">

        <input type="hidden" value="TS-MAG-010" name="machineno">

        <input type="hidden" value="14230" name="scheduleId">

        

            

          <tr align="center" bgcolor="#E8E8E8"> 

            

            <td rowspan="1"><font color="red"> 

              

              M1

              </font></td>

            

            <td rowspan="1"> 

              

              <input type="SUBMIT" class="button" value="SUBMIT501" name="SUBMIT"> 

              <a name="#108"></a><input type="hidden" value="108" name="z_id">

              <input type="hidden" value="627977" name="check_id"> <input type="hidden" value="5" name="type_id"> 

              <input type="hidden" value="3650" name="id"> <input type="hidden" value="271" name="pid"><input type="hidden" value="1" name="frequency"> 

              <input type="hidden" value="Magnum2x" name="pmtype"><input type="hidden" value="mod" name="upType"> </td>

            

            <td rowspan="1">

              <input type="text" value="2015-1-16" class="text" size="8" name="pmdate" readonly>

            </td>

            <td rowspan="1">             

              2015-1-16

              <input type="hidden" value="2015-1-16" class="text" size="8" name="scheduled_date">

            </td>

            

            <input type="hidden" value="627977" name="historyPMId1">

            <input type="hidden" value="1" name="itemNo1">

            <td><font color="#0000FF">1</font>&nbsp;<input type="text" value="ok" class="text" size="24" name="results1"></td>

            <td><textarea name="action1" cols="30" rows="2" wrap="VIRTUAL" class="DisabledTextarea" disabled>N/A</textarea></td>

            <td>

                <select name="selectCalibrationSort1" class="stext" disabled>

                    <option value="0" >--SELECT--</option>

                    <option value="1" selected>Normal PM item</option>

                    <option value="2" >Calibrate PM item</option>

                </select>

            </td>

            <td>

            

                <font color="#a9a9a9">N/A</font>

            

            </td>

            <td><input type="text" value="N/A" class="ipDisableStyle" size="12" name="remark1" disabled></td>

            <td><input type="text" value="yjing1982" class="text" size="16" name="responsibility1"></td>

            <td>2012-10-16</td>

          </tr>

        

        

        </form>

        E.Post PM Check
           <br>
       
       &nbsp;&nbsp;1.Post PM check for data validation<br>
              
      <table border="0" width="100%"  bgcolor="black" cellspacing="1" cellpadding="3" style="font-size:9pt">
        <tr align="center" bgcolor="#CCCCCC"> 
          <td></td>
          <td><b>ITEM</b></td>
          <td><b>PMDATE</b></td>
          <td><b>SCHEDULED DATE</b></td>
          <td><b>RESULTS</b></td>
          <td><b>ACTION</b></td>
          <td><b>PM SORT</b></td>
          <td><b>CAL.DATA</b></td>
          <td><b>REMARK</b></td>
          <td><b>RESPONSIBILITY</b></td>
          <td><b>EFFECTIVE DATE</b></td>
        </tr>
 
        <form action="GroupCheck.asp" method="post">
        <input type="hidden" value="3650" name="machineId"> 
        <input type="hidden" value="1" name="itemCount">
        <input type="hidden" value="5" name="itemType">
        <input type="hidden" value="TS-MAG-010" name="machineno">
        <input type="hidden" value="14230" name="scheduleId">
        
            
          <tr align="center" bgcolor="#E8E8E8"> 
            
            <td rowspan="1"><font color="red"> 
              
              M1
              </font></td>
            
            <td rowspan="1"> 
              
              <input type="SUBMIT" class="button" value="SUBMIT501" name="SUBMIT"> 
              <a name="#108"></a><input type="hidden" value="108" name="z_id">
              <input type="hidden" value="627977" name="check_id"> <input type="hidden" value="5" name="type_id"> 
              <input type="hidden" value="3650" name="id"> <input type="hidden" value="271" name="pid"><input type="hidden" value="1" name="frequency"> 
              <input type="hidden" value="Magnum2x" name="pmtype"><input type="hidden" value="mod" name="upType"> </td>
            
            <td rowspan="1">
              <input type="text" value="2015-1-16" class="text" size="8" name="pmdate" readonly>
            </td>
            <td rowspan="1">             
              2015-1-16
              <input type="hidden" value="2015-1-16" class="text" size="8" name="scheduled_date">
            </td>
            
            <input type="hidden" value="627977" name="historyPMId1">
            <input type="hidden" value="1" name="itemNo1">
            <td><font color="#0000FF">1</font>&nbsp;<input type="text" value="ok" class="text" size="24" name="results1"></td>
            <td><textarea name="action1" cols="30" rows="2" wrap="VIRTUAL" class="DisabledTextarea" disabled>N/A</textarea></td>
            <td>
                <select name="selectCalibrationSort1" class="stext" disabled>
                    <option value="0" >--SELECT--</option>
                    <option value="1" selected>Normal PM item</option>
                    <option value="2" >Calibrate PM item</option>
                </select>
            </td>
            <td>
            
                <font color="#a9a9a9">N/A</font>
            
            </td>
            <td><input type="text" value="N/A" class="ipDisableStyle" size="12" name="remark1" disabled></td>
            <td><input type="text" value="yjing1982" class="text" size="16" name="responsibility1"></td>
            <td>2012-10-16</td>
          </tr>
        
        
        </form>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By devilspride
      The following code creates a IE blank window
      Local $oIE = _IECreate()  
      But when i use Navigate to the URL, it open the URL in Microsoft Edge instead if IE.
      _IENavigate($oIE,$url)  
      What should i do to navigate in IE.
      Complete code :
      #include <MsgBoxConstants.au3> #include <WinAPIFiles.au3> #include <IE.au3> #Region TESTING Local $url = 'https://www.youtube.com' Local $oIE = _IECreate() _IENavigate($oIE,$url) #EndRegion Console Output
      IE.au3 T3.0-2 Error from function _IELoadWait, $_IESTATUS_ClientDisconnected (-2147023174, Browser has been deleted prior to operation.)  
      I have searched the forums but did not find such kind of post.
      Other posts were describing How to use Edge using Web driver selenium.
       
      Edit: I am working in Windows10. Recently many changes have been done by Microsoft to IE and Microsoft Edge. (2020)
      Earlier in 2019 this was working fine.
    • By Zaoka
      I'm trying to create script that would login on my SAP WEBI "web page" and replace some uploaded excel files. But i'm having problem on even the log in.
      These are user fill elements with Firefox Inspector
      <input type="text" id="_id0:logon:CMS" name="_id0:logon:CMS"> <input type="text" id="_id0:logon:USERNAME" name="_id0:logon:USERNAME"> <input type="password" id="_id0:logon:PASSWORD" name="_id0:logon:PASSWORD"> LogOnButton
      <input type="submit" id="_id0:logon:logonButton" value="Log On" class="logonButtonNoHover logon_button_no_hover" onmouseover="this.className = 'logonButtonHover logon_button_hover';" onmouseout="this.className = 'logonButtonNoHover logon_button_no_hover';">  
       
      My example, I tried _IEGetObjByName and _IEGetObjById but the script only open page but will not even fill out the form
        #include <IE.au3> Call("signIn") Func signIn() Global $oIE = _IECreate("http://192.xxx.xxx.xx:xxx/BOE/BI") Sleep (5000) Local $server = _IEGetObjByName($oIE, "_id0:logon:CMS") Local $username = _IEGetObjByName($oIE, "_id0:logon:USERNAME") Local $password = _IEGetObjByName($oIE, "_id0:logon:PASSWORD") Local $button = _IEGetObjById($oIE, "_id0:logon:logonButton") _IEFormElementSetValue($server, "TestServer:1000") _IEFormElementSetValue($username, "MyUserName") _IEFormElementSetValue($password, "MyPass") ; THIS PART ABOUT BUTTON CLICK I DONT UNDERSTAND AT ALL $sSelector = "body > div:nth-of-type(2) > div > div:nth-of-type(3) > div > table > tbody > tr > td > table > tbody > tr > td > table > tbody > tr:nth-of-type(1) > td > div > div:nth-of-type(1) > form > div:nth-of-type(5) > button" $signInUC = $oIE.document.QuerySelector($sSelector) _IEAction($signInUC, "click") EndFunc ;==>signIn  
      I would be very grateful for any help
    • By amosrinat
      Hi,
      i have an AutoIT script that sends emails with two embedded images.
      When users get the email they don't see the images. How should I fix my code?
      Thank you for your support,
      Amos
      Func fSendMail() $TemplateName = StringRegExpReplace($Template, "^.*\\|\..*$", "") $SmtpServer = "smtp.**.com" $FromName = "do-not-reply@*********" $FromAddress = "do-not-reply@******" $ToAddress = $MG1_Mgr & ";"& $Owner $Subject = "ACTION REQUIRED - " & $TemplateName $Body = $sBody5 $IPPort = 25 $ssl = 0 Global $oMyRet[2] Global $oMyError = ObjEvent("AutoIt.Error", "MyErrFunc") $rc = fINetSmtpMailCom($SmtpServer, $FromName, $FromAddress, $ToAddress, $Subject, $Body, $IPPort, $ssl) If @error Then MyErrFunc() EndIf EndFunc;fSendMail Func fINetSmtpMailCom($s_SmtpServer, $s_FromName, $s_FromAddress, $s_ToAddress, $s_Subject = "", $as_Body = "", $IPPort = 25, $ssl = 0) Local $objEmail = ObjCreate("CDO.Message") $objEmail.From = '"' & $s_FromName & '" <' & $s_FromAddress & '>' $objEmail.To = $s_ToAddress Local $i_Error = 0 Local $i_Error_desciption = "" $objEmail.Subject = $s_Subject If StringInStr($as_Body, "<") And StringInStr($as_Body, ">") Then $objEmail.HTMLBody = $as_Body Else $objEmail.Textbody = $as_Body & @CRLF EndIf $objEmail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 $objEmail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = $s_SmtpServer If Number($IPPort) = 0 Then $IPPort = 25 $objEmail.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = $IPPort $objEmail.Configuration.Fields.Update $objEmail.Fields.Update ;$objEmail.Send **************** If @error Then MyErrFunc() EndIf $objEmail = "" EndFunc;fINetSmtpMailCom  
    • By Colduction
      Hi guys, i'm using Telegram UDF by @LinkOut from github with latest update, but this UDF has not any parse_mode ability in SendDocument and other send file's functions to make texts bold, italic or underline and i can't send Emojis via these functions too. i've tried to change HTML section of multipart/form-data but i did not get correct results.

      For example, i can't get correct results by sending a document with this URL Encoded caption: %F0%9F%93%84%20*Test*%20%F0%9F%93%84

      I will be happy to help me in this section. Thanks!
×
×
  • Create New...