#include <Constants.au3>
;Start Named Pipe TCP Proxy
Run("D:\program files (x86)\Named Pipe TCP Proxy\piped.exe")
WinWaitActive("[CLASS:Afx:400000:0]")
;New Session
For $iCount = 1 To 8
Send("!EN")
WinWaitActive("[CLASS:#32770]")
Send("\\.\pipe\vmx-r" & $iCount & "{TAB}960" & $iCount & "{ENTER}")
Sleep(100)
Next
For $iCount = 1 To 8
Send("!EN")
WinWaitActive("[CLASS:#32770]")
Send("\\.\pipe\olive-r" & $iCount & "{TAB}800" & $iCount & "{ENTER}")
Sleep(100)
Next
运行如上AutoIt脚本后,首先启动Named Pipe TCP Proxy,然后自动创建session,速度很快。如下是截图:
解决Named Pipe TCP Proxy无法保存Session
原文地址:http://blog.51cto.com/2248669/2120069