多个VBS如何在不同窗口挨个运行。

问题遇到的现象和发生背景
目前通过SAP自带的脚本录制已经生成2个脚本

 问题相关代码,请勿粘贴截图
Sub cockpit_dd()
If Not IsObject(sapapplication) Then
Set SapGuiAuto = GetObject("SAPGUI")
Set sapapplication = SapGuiAuto.GetScriptingEngine
End If
If Not IsObject(sapconnection) Then
Set sapconnection = sapapplication.Children(0)
End If
If Not IsObject(sapsession) Then
Set sapsession = sapconnection.Children(0)
End If
If IsObject(wscript) Then
wscript.ConnectObject sapsession, "on"
wscript.ConnectObject Application, "on"
End If
sapsession.findById("wnd[0]").maximize
sapsession.findById("wnd[0]/usr/cntlIMAGE_CONTAINER/shellcont/shell/shellcont[0]/shell").selectedNode = "F00160"
sapsession.findById("wnd[0]/usr/cntlIMAGE_CONTAINER/shellcont/shell/shellcont[0]/shell").doubleClickNode "F00160"
sapsession.findById("wnd[0]/usr/cntlIMAGE_CONTAINER/shellcont/shell/shellcont[0]/shell").selectedNode = "F00129"
sapsession.findById("wnd[0]/usr/cntlIMAGE_CONTAINER/shellcont/shell/shellcont[0]/shell").doubleClickNode "F00129"
sapsession.findById("wnd[0]/tbar[1]/btn[17]").press
sapsession.findById("wnd[1]/usr/txtV-LOW").Text = "STAN"
sapsession.findById("wnd[1]/usr/txtV-LOW").caretPosition = 4
sapsession.findById("wnd[1]/tbar[0]/btn[8]").press
sapsession.findById("wnd[0]/tbar[1]/btn[8]").press
End Sub

Sub cockpit_tx()
If Not IsObject(sapapplication) Then
Set SapGuiAuto = GetObject("SAPGUI")
Set sapapplication = SapGuiAuto.GetScriptingEngine
End If
If Not IsObject(sapconnection) Then
Set sapconnection = sapapplication.Children(0)
End If
If Not IsObject(sapsession) Then
Set sapsession = sapconnection.Children(0)
End If
If IsObject(wscript) Then
wscript.ConnectObject sapsession, "on"
wscript.ConnectObject Application, "on"
End If
sapsession.findById("wnd[0]").maximize
sapsession.findById("wnd[0]/usr/cntlIMAGE_CONTAINER/shellcont/shell/shellcont[0]/shell").doubleClickNode "F00124"
sapsession.findById("wnd[0]/tbar[1]/btn[17]").press
sapsession.findById("wnd[1]/usr/txtV-LOW").Text = "STAN"
sapsession.findById("wnd[1]/usr/txtV-LOW").caretPosition = 4
sapsession.findById("wnd[1]/tbar[0]/btn[8]").press
sapsession.findById("wnd[0]/usr/ctxtS_WERKS-LOW").Text = "SY78"
sapsession.findById("wnd[0]/usr/ctxtS_WERKS-LOW").caretPosition = 4
sapsession.findById("wnd[0]/tbar[1]/btn[8]").press

End Sub

运行结果及报错内容
sub cockpi_dd 和sub cockpit_tx是两个脚本,最终生成两个窗口,目前我通过.bat只能运行其中一个,原因为SAP总是默认脚本在第一个SAP窗口有效,第二个脚本无法运行。
我的解答思路和尝试过的方法
各种度娘和询问,无解决方案。感谢支援。
 我想要达到的结果
两个脚本运行后,分别两个SAP窗口展示出结果。