View Single Post
Old 10-12-2018, 07:20 AM
fplante fplante is offline
Registered User
Join Date: May 2017
Posts: 1
Send data to multiple session in same time


I made a script to open multiple SSH connections in different tabs.

Once opened, I made another script to send different commands in same time to every connections. The only way I found was with the tab number.

Set objCurrentTab = crt.GetTab (3)
objCurrentTab.Screen.Send "COMMAND" & Chr (13)

I am looking for a solution to be sent data with the name of tab (or connection) not with the number of tab to be sure i send the data to the right equipement.

exemple: Set objCurrentTab = crt.GetTab ("TAB NAME")

Does anyone have an idea how?
Reply With Quote