//创建对鼠标左键弹起的监测
KeyData = Plugin.WndEx7_20.CreateKeyTrack(0,"Left Button",32)
Do
    //获得鼠标所指的可见的顶窗口的窗口句柄
    hwnd = Plugin.WndEx7_20.GetMousePointWindowS(1 Or 32 Or 16384)
    If hwnd <> 0 Then 
        //突出显示窗口
        Call Plugin.WndEx7_20.HighlightWindowEx(hwnd, 5, "0000FF", "7F7FFF", 150, 0)
    Else 
        //停止突出显示窗口
        Call Plugin.WndEx7_20.HighlightWindowEx(0, 0, 0, 0, 0, 0)
    End If
    Delay 200
    //获得按键动作,这里根据CreateKeyTrack的参数,获得的是鼠标左键弹起的动作
    KeyState = Plugin.WndEx7_20.GetKey(KeyData, KeyValue)
    If KeyState > 0 And hwnd <> 0 Then 
        //停止突出显示窗口
        Call Plugin.WndEx7_20.HighlightWindowEx(0, 0, 0, 0, 0, 0)
        Exit Do
    End If
Loop
//执行窗口操作
MsgBox "窗口句柄:" & CStr(hwnd),4096
//OnScriptExit过程在脚本结束时执行,即使脚本执行到一半的时候,你按了停止热键,它也会执行了这个过程再停止
Sub OnScriptExit()
    //删除对按键的监测
    Call Plugin.WndEx7_20.DeleteKeyTrack(KeyData)
End Sub//创建对鼠标左键弹起的监测
KeyData = Plugin.WndEx7_20.CreateKeyTrack(0,"Left Button",32)
Do
    //获得鼠标所指的可见的顶窗口的窗口句柄
    hwnd = Plugin.WndEx7_20.GetMousePointWindowS(1 Or 32 Or 16384)
    If hwnd <> 0 Then 
        //突出显示窗口
        Call Plugin.WndEx7_20.HighlightWindowEx(hwnd, 5, "0000FF", "7F7FFF", 150, 0)
    Else 
        //停止突出显示窗口
        Call Plugin.WndEx7_20.HighlightWindowEx(0, 0, 0, 0, 0, 0)
    End If
    Delay 200
    //获得按键动作,这里根据CreateKeyTrack的参数,获得的是鼠标左键弹起的动作
    KeyState = Plugin.WndEx7_20.GetKey(KeyData, KeyValue)
    If KeyState > 0 And hwnd <> 0 Then 
        //停止突出显示窗口
        Call Plugin.WndEx7_20.HighlightWindowEx(0, 0, 0, 0, 0, 0)
        Exit Do
    End If
Loop
//执行窗口操作
MsgBox "窗口句柄:" & CStr(hwnd),4096
//OnScriptExit过程在脚本结束时执行,即使脚本执行到一半的时候,你按了停止热键,它也会执行了这个过程再停止
Sub OnScriptExit()
    //删除对按键的监测
    Call Plugin.WndEx7_20.DeleteKeyTrack(KeyData)
End Sub//创建对鼠标左键弹起的监测
KeyData = Plugin.WndEx7_20.CreateKeyTrack(0,"Left Button",32)
Do
    //获得鼠标所指的可见的顶窗口的窗口句柄
    hwnd = Plugin.WndEx7_20.GetMousePointWindowS(1 Or 32 Or 16384)
    If hwnd <> 0 Then 
        //突出显示窗口
        Call Plugin.WndEx7_20.HighlightWindowEx(hwnd, 5, "0000FF", "7F7FFF", 150, 0)
    Else 
        //停止突出显示窗口
        Call Plugin.WndEx7_20.HighlightWindowEx(0, 0, 0, 0, 0, 0)
    End If
    Delay 200
    //获得按键动作,这里根据CreateKeyTrack的参数,获得的是鼠标左键弹起的动作
    KeyState = Plugin.WndEx7_20.GetKey(KeyData, KeyValue)
    If KeyState > 0 And hwnd <> 0 Then 
        //停止突出显示窗口
        Call Plugin.WndEx7_20.HighlightWindowEx(0, 0, 0, 0, 0, 0)
        Exit Do
    End If
Loop
//执行窗口操作
MsgBox "窗口句柄:" & CStr(hwnd),4096
//OnScriptExit过程在脚本结束时执行,即使脚本执行到一半的时候,你按了停止热键,它也会执行了这个过程再停止
Sub OnScriptExit()
    //删除对按键的监测
    Call Plugin.WndEx7_20.DeleteKeyTrack(KeyData)
End Sub//创建对鼠标左键弹起的监测
KeyData = Plugin.WndEx7_20.CreateKeyTrack(0,"Left Button",32)
Do
    //获得鼠标所指的可见的顶窗口的窗口句柄
    hwnd = Plugin.WndEx7_20.GetMousePointWindowS(1 Or 32 Or 16384)
    If hwnd <> 0 Then 
        //突出显示窗口
        Call Plugin.WndEx7_20.HighlightWindowEx(hwnd, 5, "0000FF", "7F7FFF", 150, 0)
    Else 
        //停止突出显示窗口
        Call Plugin.WndEx7_20.HighlightWindowEx(0, 0, 0, 0, 0, 0)
    End If
    Delay 200
    //获得按键动作,这里根据CreateKeyTrack的参数,获得的是鼠标左键弹起的动作
    KeyState = Plugin.WndEx7_20.GetKey(KeyData, KeyValue)
    If KeyState > 0 And hwnd <> 0 Then 
        //停止突出显示窗口
        Call Plugin.WndEx7_20.HighlightWindowEx(0, 0, 0, 0, 0, 0)
        Exit Do
    End If
Loop
//执行窗口操作
MsgBox "窗口句柄:" & CStr(hwnd),4096
//OnScriptExit过程在脚本结束时执行,即使脚本执行到一半的时候,你按了停止热键,它也会执行了这个过程再停止
Sub OnScriptExit()
    //删除对按键的监测
    Call Plugin.WndEx7_20.DeleteKeyTrack(KeyData)
End Sub//创建对鼠标左键弹起的监测
KeyData = Plugin.WndEx7_20.CreateKeyTrack(0,"Left Button",32)
Do
    //获得鼠标所指的可见的顶窗口的窗口句柄
    hwnd = Plugin.WndEx7_20.GetMousePointWindowS(1 Or 32 Or 16384)
    If hwnd <> 0 Then 
        //突出显示窗口
        Call Plugin.WndEx7_20.HighlightWindowEx(hwnd, 5, "0000FF", "7F7FFF", 150, 0)
    Else 
        //停止突出显示窗口
        Call Plugin.WndEx7_20.HighlightWindowEx(0, 0, 0, 0, 0, 0)
    End If
    Delay 200
    //获得按键动作,这里根据CreateKeyTrack的参数,获得的是鼠标左键弹起的动作
    KeyState = Plugin.WndEx7_20.GetKey(KeyData, KeyValue)
    If KeyState > 0 And hwnd <> 0 Then 
        //停止突出显示窗口
        Call Plugin.WndEx7_20.HighlightWindowEx(0, 0, 0, 0, 0, 0)
        Exit Do
    End If
Loop
//执行窗口操作
MsgBox "窗口句柄:" & CStr(hwnd),4096
//OnScriptExit过程在脚本结束时执行,即使脚本执行到一半的时候,你按了停止热键,它也会执行了这个过程再停止
Sub OnScriptExit()
    //删除对按键的监测
    Call Plugin.WndEx7_20.DeleteKeyTrack(KeyData)
End Sub//创建对鼠标左键弹起的监测
KeyData = Plugin.WndEx7_20.CreateKeyTrack(0,"Left Button",32)
Do
    //获得鼠标所指的可见的顶窗口的窗口句柄
    hwnd = Plugin.WndEx7_20.GetMousePointWindowS(1 Or 32 Or 16384)
    If hwnd <> 0 Then 
        //突出显示窗口
        Call Plugin.WndEx7_20.HighlightWindowEx(hwnd, 5, "0000FF", "7F7FFF", 150, 0)
    Else 
        //停止突出显示窗口
        Call Plugin.WndEx7_20.HighlightWindowEx(0, 0, 0, 0, 0, 0)
    End If
    Delay 200
    //获得按键动作,这里根据CreateKeyTrack的参数,获得的是鼠标左键弹起的动作
    KeyState = Plugin.WndEx7_20.GetKey(KeyData, KeyValue)
    If KeyState > 0 And hwnd <> 0 Then 
        //停止突出显示窗口
        Call Plugin.WndEx7_20.HighlightWindowEx(0, 0, 0, 0, 0, 0)
        Exit Do
    End If
Loop
//执行窗口操作
MsgBox "窗口句柄:" & CStr(hwnd),4096
//OnScriptExit过程在脚本结束时执行,即使脚本执行到一半的时候,你按了停止热键,它也会执行了这个过程再停止
Sub OnScriptExit()
    //删除对按键的监测
    Call Plugin.WndEx7_20.DeleteKeyTrack(KeyData)
End Sub//创建对鼠标左键弹起的监测
KeyData = Plugin.WndEx7_20.CreateKeyTrack(0,"Left Button",32)
Do
    //获得鼠标所指的可见的顶窗口的窗口句柄
    hwnd = Plugin.WndEx7_20.GetMousePointWindowS(1 Or 32 Or 16384)
    If hwnd <> 0 Then 
        //突出显示窗口
        Call Plugin.WndEx7_20.HighlightWindowEx(hwnd, 5, "0000FF", "7F7FFF", 150, 0)
    Else 
        //停止突出显示窗口
        Call Plugin.WndEx7_20.HighlightWindowEx(0, 0, 0, 0, 0, 0)
    End If
    Delay 200
    //获得按键动作,这里根据CreateKeyTrack的参数,获得的是鼠标左键弹起的动作
    KeyState = Plugin.WndEx7_20.GetKey(KeyData, KeyValue)
    If KeyState > 0 And hwnd <> 0 Then 
        //停止突出显示窗口
        Call Plugin.WndEx7_20.HighlightWindowEx(0, 0, 0, 0, 0, 0)
        Exit Do
    End If
Loop
//执行窗口操作
MsgBox "窗口句柄:" & CStr(hwnd),4096
//OnScriptExit过程在脚本结束时执行,即使脚本执行到一半的时候,你按了停止热键,它也会执行了这个过程再停止
Sub OnScriptExit()
    //删除对按键的监测
    Call Plugin.WndEx7_20.DeleteKeyTrack(KeyData)
End Sub