View Single Post
  #4  
Old 03-22-2020, 12:58 PM
bgagnon bgagnon is offline
VanDyke Technical Support
 
Join Date: Oct 2008
Posts: 4,309
Hi aqelmo,

It is still not clear to me if you are connected to the nodes or need to connect in the script.

If already connected, it is fairly easy to iterate over the connected tabs with a For/Next loop:

Code:
Sub Main()
    Do
        ' Iterate through all tabs, running commands
        For i = 1 To crt.GetTabCount
            Set objTab = crt.GetTab(i)
            ' Run Commands and disconnect
        Next
    Loop
End Sub
__________________
Thanks,
--Brenda

VanDyke Software
Technical Support
support@vandyke.com
(505) 332-5730
Reply With Quote