「Itts RUN AP.dll」修訂間的差異

出自ITTS
跳至導覽 跳至搜尋
(建立內容為「=== '''ini說明:''' === 檔案:Ini說明.png •當Edior mode=1時可使用alt+滑鼠滾輪更改shape寬度,或使用shift+滑鼠滾輪可更改shape高…」的新頁面)
 
行 1: 行 1:
=== '''ini說明:''' ===
+
=== '''ITTS_RUN_AP.dll 功能:''' ===
 +
01:RUN
 +
02:Stop exit
 +
03:Run DOS AP
 +
13:Run DOS AP and store the result in the file
 +
04:Check application ( check Exit or not in  process (already running or not))
 +
 
  
[[檔案:Ini說明.png]]
 
  
 
•當Edior mode=1時可使用alt+滑鼠滾輪更改shape寬度,或使用shift+滑鼠滾輪可更改shape高度,滑鼠可直接拉取shape至指定位置
 
•當Edior mode=1時可使用alt+滑鼠滾輪更改shape寬度,或使用shift+滑鼠滾輪可更改shape高度,滑鼠可直接拉取shape至指定位置
行 12: 行 17:
  
  
'''腳本範例:'''
+
'''腳本範例 01:'''
 
{| class="mw-collapsible mw-collapsed wikitable"
 
{| class="mw-collapsible mw-collapsed wikitable"
 
! Parse key XE10 Example Tree (copy scrip contents phase to  scrip editor)  
 
! Parse key XE10 Example Tree (copy scrip contents phase to  scrip editor)  
 
|-
 
|-
 
|
 
|
      <Item>  
+
    <Item>  
 
       <Text> </Text>  
 
       <Text> </Text>  
       <Description> key test uncheck break</Description>  
+
       <Description> RUN www</Description>  
 
       <ItemType> 2</ItemType>  
 
       <ItemType> 2</ItemType>  
 
       <Skip> 1</Skip>  
 
       <Skip> 1</Skip>  
 
       <ItemSection1> DLL</ItemSection1>  
 
       <ItemSection1> DLL</ItemSection1>  
       <ItemSection2> Execute</ItemSection2>  
+
       <ItemSection2> EXECUTE</ItemSection2>  
       <ItemCommand> UTS_Drivers.dll</ItemCommand>  
+
       <ItemCommand> ITTS_RUN_AP.dll</ItemCommand>  
 
       <FailAction> </FailAction>  
 
       <FailAction> </FailAction>  
       <FieldName> BTN_Test</FieldName>  
+
       <FieldName> </FieldName>  
       <FieldNumber> 14</FieldNumber>  
+
       <FieldNumber> </FieldNumber>  
       <ErrorCode> Err005</ErrorCode>  
+
       <ErrorCode> </ErrorCode>  
 
       <RetryTimes> 0</RetryTimes>  
 
       <RetryTimes> 0</RetryTimes>  
 
       <RetryDelay> 0</RetryDelay>  
 
       <RetryDelay> 0</RetryDelay>  
行 43: 行 48:
 
         </i2>
 
         </i2>
 
         <i3>
 
         <i3>
           <Content>USB</Content>
+
           <Content>01:RUN</Content>
           <Description>Command</Description>
+
           <Description>P3 command</Description>
 
         </i3>
 
         </i3>
 
         <i4>
 
         <i4>
           <Content>ExeParseDLL</Content>
+
           <Content>www.google.com</Content>
           <Description>Function</Description>
+
           <Description>P4 FileName</Description>
 
         </i4>
 
         </i4>
 
         <i5>
 
         <i5>
           <Content>['&VAR:DevID1']</Content>
+
           <Content></Content>
           <Description>DevID</Description>
+
           <Description>P5 parameter</Description>
 
         </i5>
 
         </i5>
 
         <i6>
 
         <i6>
           <Content>['&testplanpath'"ITTS_Parse_key_XE10.dll"]</Content>
+
           <Content></Content>
           <Description>DLL</Description>
+
           <Description>P6 Path</Description>
 
         </i6>
 
         </i6>
 
         <i7>
 
         <i7>
 +
          <Content>9</Content>
 +
          <Description>P7 show</Description>
 +
        </i7>
 +
        <i8>
 
           <Content></Content>
 
           <Content></Content>
           <Description>Start</Description>
+
           <Description>P8</Description>
 +
        </i8>
 +
        <i9>
 +
          <Content></Content>
 +
          <Description>P9</Description>
 +
        </i9>
 +
        <i10>
 +
          <Content>1</Content>
 +
          <Description>Value10</Description>
 +
        </i10>
 +
      </Parameter>
 +
    </Item>
 +
 
 +
|}
 +
 
 +
'''腳本範例 02:'''
 +
{| class="mw-collapsible mw-collapsed wikitable"
 +
! Parse key XE10 Example Tree (copy scrip contents phase to  scrip editor)
 +
|-
 +
|
 +
    <Item>
 +
      <Text> </Text>
 +
      <Description> RUN note pad</Description>
 +
      <ItemType> 2</ItemType>
 +
      <Skip> 1</Skip>
 +
      <ItemSection1> DLL</ItemSection1>
 +
      <ItemSection2> EXECUTE</ItemSection2>
 +
      <ItemCommand> ITTS_RUN_AP.dll</ItemCommand>
 +
      <FailAction> </FailAction>
 +
      <FieldName> res</FieldName>
 +
      <FieldNumber> </FieldNumber>
 +
      <ErrorCode> </ErrorCode>
 +
      <RetryTimes> 0</RetryTimes>
 +
      <RetryDelay> 0</RetryDelay>
 +
      <Process> </Process>
 +
      <FieldType> </FieldType>
 +
      <Parameter>
 +
        <i1>
 +
          <Content></Content>
 +
          <Description>Min</Description>
 +
        </i1>
 +
        <i2>
 +
          <Content></Content>
 +
          <Description>Max</Description>
 +
        </i2>
 +
        <i3>
 +
          <Content>01:RUN</Content>
 +
          <Description>P3 command</Description>
 +
        </i3>
 +
        <i4>
 +
          <Content>notepad.exe</Content>
 +
          <Description>P4 FileName</Description>
 +
        </i4>
 +
        <i5>
 +
          <Content>C:\WINDOWS\SYSTEM.INI</Content>
 +
          <Description>P5 parameter</Description>
 +
        </i5>
 +
        <i6>
 +
          <Content>C:\WINDOWS\</Content>
 +
          <Description>P6 Path</Description>
 +
        </i6>
 +
        <i7>
 +
          <Content></Content>
 +
          <Description>P7</Description>
 
         </i7>
 
         </i7>
 
         <i8>
 
         <i8>
 
           <Content></Content>
 
           <Content></Content>
           <Description>Confirm</Description>
+
           <Description>P8</Description>
 
         </i8>
 
         </i8>
 
         <i9>
 
         <i9>
 
           <Content></Content>
 
           <Content></Content>
           <Description>End</Description>
+
           <Description>P9</Description>
 
         </i9>
 
         </i9>
 
         <i10>
 
         <i10>
 +
          <Content>debug</Content>
 +
          <Description>Value10</Description>
 +
        </i10>
 +
      </Parameter>
 +
    </Item>
 +
 +
|}
 +
 +
'''腳本範例 01:'''
 +
{| class="mw-collapsible mw-collapsed wikitable"
 +
! Parse key XE10 Example Tree (copy scrip contents phase to  scrip editor)
 +
|-
 +
|
 +
    <Item>
 +
      <Text> </Text>
 +
      <Description> RUN www</Description>
 +
      <ItemType> 2</ItemType>
 +
      <Skip> 1</Skip>
 +
      <ItemSection1> DLL</ItemSection1>
 +
      <ItemSection2> EXECUTE</ItemSection2>
 +
      <ItemCommand> ITTS_RUN_AP.dll</ItemCommand>
 +
      <FailAction> </FailAction>
 +
      <FieldName> </FieldName>
 +
      <FieldNumber> </FieldNumber>
 +
      <ErrorCode> </ErrorCode>
 +
      <RetryTimes> 0</RetryTimes>
 +
      <RetryDelay> 0</RetryDelay>
 +
      <Process> </Process>
 +
      <FieldType> </FieldType>
 +
      <Parameter>
 +
        <i1>
 
           <Content></Content>
 
           <Content></Content>
           <Description>Timeout</Description>
+
           <Description>Min</Description>
 +
        </i1>
 +
        <i2>
 +
          <Content></Content>
 +
          <Description>Max</Description>
 +
        </i2>
 +
        <i3>
 +
          <Content>01:RUN</Content>
 +
          <Description>P3 command</Description>
 +
        </i3>
 +
        <i4>
 +
          <Content>www.google.com</Content>
 +
          <Description>P4 FileName</Description>
 +
        </i4>
 +
        <i5>
 +
          <Content></Content>
 +
          <Description>P5 parameter</Description>
 +
        </i5>
 +
        <i6>
 +
          <Content></Content>
 +
          <Description>P6 Path</Description>
 +
        </i6>
 +
        <i7>
 +
          <Content>9</Content>
 +
          <Description>P7 show</Description>
 +
        </i7>
 +
        <i8>
 +
          <Content></Content>
 +
          <Description>P8</Description>
 +
        </i8>
 +
        <i9>
 +
          <Content></Content>
 +
          <Description>P9</Description>
 +
        </i9>
 +
        <i10>
 +
          <Content>1</Content>
 +
          <Description>Value10</Description>
 
         </i10>
 
         </i10>
        <i11>
+
      </Parameter>  
          <Content>"[Data]"
+
    </Item>  
        ;["TopX="+'&Image_Pos_X']
+
 
        ;["TopY="+'&Image_Pos_Y']
+
|}
        TopX=10
+
 
        TopY=10
+
'''腳本範例 03:'''
        ;["Image_Width="+'&Image_Width']
+
{| class="mw-collapsible mw-collapsed wikitable"
        Image_Width=1900
+
! Parse key XE10 Example Tree (copy scrip contents phase to  scrip editor)
        ;["Image_Height="+'&Image_Height']
+
|-
        Image_Height=900
+
|
        ["BackgroundPicture="+'&TestPLANPath'+"keyboard.bmp"]
+
    <Item>
        DataLen=12
+
      <Text> </Text>
        ;BtnPos=1 2 3 4
+
      <Description> RUN www</Description>
        BtnPos=s([1..8])
+
      <ItemType> 2</ItemType>
        XPos=0
+
      <Skip> 1</Skip>
        YPos=0
+
      <ItemSection1> DLL</ItemSection1>
        RollerPos=0
+
      <ItemSection2> EXECUTE</ItemSection2>
        TimeStampPos=9 10 11 12
+
      <ItemCommand> ITTS_RUN_AP.dll</ItemCommand>
        "[Parameter]"
+
      <FailAction> </FailAction>
         Btn_LogFile=0
+
      <FieldName> </FieldName>
         Hold_on_BTN_Mismatch=1
+
      <FieldNumber> </FieldNumber>
         Editor_Mode=1
+
      <ErrorCode> </ErrorCode>
         follow_sequence=1
+
      <RetryTimes> 0</RetryTimes>
         "[array]"
+
      <RetryDelay> 0</RetryDelay>
         Pen Color1=$FF0000
+
      <Process> </Process>
         Pen Color2=$80FF00
+
      <FieldType> </FieldType>
         Shape Pen Width=9
+
      <Parameter>
         1=1,A,145,6,64,66,2,00003A00,00000000,,
+
         <i1>
        2=2,A,214,5,66,66,2,00003B00,00000000,,
+
          <Content></Content>
         3=3,A,287,6,64,64,2,00003C00,00000000,,
+
          <Description>Min</Description>
         4=4,A,358,7,64,64,2,00003D00,00000000,,
+
         </i1>
        5=5,A,465,6,64,64,2,00003E00,00000000,,
+
         <i2>
        6=6,A,535,5,64,64,2,00003F00,00000000,,
+
          <Content></Content>
         7=7,A,605,5,64,64,2,00004000,00000000,,
+
          <Description>Max</Description>
         8=8,A,677,5,64,64,2,00004100,00000000,,
+
         </i2>
        9=9,A,784,7,64,64,2,00004200,00000000,,
+
         <i3>
         10=10,A,854,7,64,64,2,00004300,00000000,,
+
          <Content>01:RUN</Content>
         11=11,A,925,6,64,64,2,00004400,00000000,,
+
          <Description>P3 command</Description>
         12=12,A,995,6,64,64,2,00004500,00000000,,
+
         </i3>
         </Content>
+
         <i4>
           <Description>ini_Section1</Description>
+
          <Content>www.google.com</Content>
         </i11>
+
          <Description>P4 FileName</Description>
         <i12>
+
         </i4>
 +
         <i5>
 +
          <Content></Content>
 +
          <Description>P5 parameter</Description>
 +
         </i5>
 +
         <i6>
 +
          <Content></Content>
 +
          <Description>P6 Path</Description>
 +
         </i6>
 +
         <i7>
 +
          <Content>9</Content>
 +
          <Description>P7 show</Description>
 +
         </i7>
 +
         <i8>
 +
          <Content></Content>
 +
          <Description>P8</Description>
 +
         </i8>
 +
         <i9>
 +
          <Content></Content>
 +
           <Description>P9</Description>
 +
         </i9>
 +
         <i10>
 
           <Content>1</Content>
 
           <Content>1</Content>
           <Description>Value12</Description>
+
           <Description>Value10</Description>
         </i12>
+
         </i10>
 
       </Parameter>  
 
       </Parameter>  
     </Item>
+
     </Item>  
  
 
|}
 
|}

於 2024年11月29日 (五) 15:15 的修訂

ITTS_RUN_AP.dll 功能:

01:RUN 02:Stop exit 03:Run DOS AP 13:Run DOS AP and store the result in the file 04:Check application ( check Exit or not in process (already running or not))


•當Edior mode=1時可使用alt+滑鼠滾輪更改shape寬度,或使用shift+滑鼠滾輪可更改shape高度,滑鼠可直接拉取shape至指定位置


Parse key edit cell.png

•當勾選Edit cell時可以學習按鍵代碼,增加按鍵如上圖


腳本範例 01:

Parse key XE10 Example Tree (copy scrip contents phase to scrip editor)
    <Item> 
      <Text> </Text> 
      <Description> RUN www</Description> 
      <ItemType> 2</ItemType> 
      <Skip> 1</Skip> 
      <ItemSection1> DLL</ItemSection1> 
      <ItemSection2> EXECUTE</ItemSection2> 
      <ItemCommand> ITTS_RUN_AP.dll</ItemCommand> 
      <FailAction> </FailAction> 
      <FieldName> </FieldName> 
      <FieldNumber> </FieldNumber> 
      <ErrorCode> </ErrorCode> 
      <RetryTimes> 0</RetryTimes> 
      <RetryDelay> 0</RetryDelay> 
      <Process> </Process> 
      <FieldType> </FieldType> 
      <Parameter> 
        <i1>
          <Content></Content>
          <Description>Min</Description>
        </i1>
        <i2>
          <Content></Content>
          <Description>Max</Description>
        </i2>
        <i3>
          <Content>01:RUN</Content>
          <Description>P3 command</Description>
        </i3>
        <i4>
          <Content>www.google.com</Content>
          <Description>P4 FileName</Description>
        </i4>
        <i5>
          <Content></Content>
          <Description>P5 parameter</Description>
        </i5>
        <i6>
          <Content></Content>
          <Description>P6 Path</Description>
        </i6>
        <i7>
          <Content>9</Content>
          <Description>P7 show</Description>
        </i7>
        <i8>
          <Content></Content>
          <Description>P8</Description>
        </i8>
        <i9>
          <Content></Content>
          <Description>P9</Description>
        </i9>
        <i10>
          <Content>1</Content>
          <Description>Value10</Description>
        </i10>
      </Parameter> 
    </Item> 

腳本範例 02:

Parse key XE10 Example Tree (copy scrip contents phase to scrip editor)
    <Item> 
      <Text> </Text> 
      <Description> RUN note pad</Description> 
      <ItemType> 2</ItemType> 
      <Skip> 1</Skip> 
      <ItemSection1> DLL</ItemSection1> 
      <ItemSection2> EXECUTE</ItemSection2> 
      <ItemCommand> ITTS_RUN_AP.dll</ItemCommand> 
      <FailAction> </FailAction> 
      <FieldName> res</FieldName> 
      <FieldNumber> </FieldNumber> 
      <ErrorCode> </ErrorCode> 
      <RetryTimes> 0</RetryTimes> 
      <RetryDelay> 0</RetryDelay> 
      <Process> </Process> 
      <FieldType> </FieldType> 
      <Parameter> 
        <i1>
          <Content></Content>
          <Description>Min</Description>
        </i1>
        <i2>
          <Content></Content>
          <Description>Max</Description>
        </i2>
        <i3>
          <Content>01:RUN</Content>
          <Description>P3 command</Description>
        </i3>
        <i4>
          <Content>notepad.exe</Content>
          <Description>P4 FileName</Description>
        </i4>
        <i5>
          <Content>C:\WINDOWS\SYSTEM.INI</Content>
          <Description>P5 parameter</Description>
        </i5>
        <i6>
          <Content>C:\WINDOWS\</Content>
          <Description>P6 Path</Description>
        </i6>
        <i7>
          <Content></Content>
          <Description>P7</Description>
        </i7>
        <i8>
          <Content></Content>
          <Description>P8</Description>
        </i8>
        <i9>
          <Content></Content>
          <Description>P9</Description>
        </i9>
        <i10>
          <Content>debug</Content>
          <Description>Value10</Description>
        </i10>
      </Parameter> 
    </Item> 

腳本範例 01:

Parse key XE10 Example Tree (copy scrip contents phase to scrip editor)
    <Item> 
      <Text> </Text> 
      <Description> RUN www</Description> 
      <ItemType> 2</ItemType> 
      <Skip> 1</Skip> 
      <ItemSection1> DLL</ItemSection1> 
      <ItemSection2> EXECUTE</ItemSection2> 
      <ItemCommand> ITTS_RUN_AP.dll</ItemCommand> 
      <FailAction> </FailAction> 
      <FieldName> </FieldName> 
      <FieldNumber> </FieldNumber> 
      <ErrorCode> </ErrorCode> 
      <RetryTimes> 0</RetryTimes> 
      <RetryDelay> 0</RetryDelay> 
      <Process> </Process> 
      <FieldType> </FieldType> 
      <Parameter> 
        <i1>
          <Content></Content>
          <Description>Min</Description>
        </i1>
        <i2>
          <Content></Content>
          <Description>Max</Description>
        </i2>
        <i3>
          <Content>01:RUN</Content>
          <Description>P3 command</Description>
        </i3>
        <i4>
          <Content>www.google.com</Content>
          <Description>P4 FileName</Description>
        </i4>
        <i5>
          <Content></Content>
          <Description>P5 parameter</Description>
        </i5>
        <i6>
          <Content></Content>
          <Description>P6 Path</Description>
        </i6>
        <i7>
          <Content>9</Content>
          <Description>P7 show</Description>
        </i7>
        <i8>
          <Content></Content>
          <Description>P8</Description>
        </i8>
        <i9>
          <Content></Content>
          <Description>P9</Description>
        </i9>
        <i10>
          <Content>1</Content>
          <Description>Value10</Description>
        </i10>
      </Parameter> 
    </Item> 

腳本範例 03:

Parse key XE10 Example Tree (copy scrip contents phase to scrip editor)
    <Item> 
      <Text> </Text> 
      <Description> RUN www</Description> 
      <ItemType> 2</ItemType> 
      <Skip> 1</Skip> 
      <ItemSection1> DLL</ItemSection1> 
      <ItemSection2> EXECUTE</ItemSection2> 
      <ItemCommand> ITTS_RUN_AP.dll</ItemCommand> 
      <FailAction> </FailAction> 
      <FieldName> </FieldName> 
      <FieldNumber> </FieldNumber> 
      <ErrorCode> </ErrorCode> 
      <RetryTimes> 0</RetryTimes> 
      <RetryDelay> 0</RetryDelay> 
      <Process> </Process> 
      <FieldType> </FieldType> 
      <Parameter> 
        <i1>
          <Content></Content>
          <Description>Min</Description>
        </i1>
        <i2>
          <Content></Content>
          <Description>Max</Description>
        </i2>
        <i3>
          <Content>01:RUN</Content>
          <Description>P3 command</Description>
        </i3>
        <i4>
          <Content>www.google.com</Content>
          <Description>P4 FileName</Description>
        </i4>
        <i5>
          <Content></Content>
          <Description>P5 parameter</Description>
        </i5>
        <i6>
          <Content></Content>
          <Description>P6 Path</Description>
        </i6>
        <i7>
          <Content>9</Content>
          <Description>P7 show</Description>
        </i7>
        <i8>
          <Content></Content>
          <Description>P8</Description>
        </i8>
        <i9>
          <Content></Content>
          <Description>P9</Description>
        </i9>
        <i10>
          <Content>1</Content>
          <Description>Value10</Description>
        </i10>
      </Parameter> 
    </Item> 

ITTS example: 檔案:Parse key XE10 example.itts