View Single Post
Old 06-19-2018, 09:13 AM
bgagnon bgagnon is offline
VanDyke Technical Support
Join Date: Oct 2008
Posts: 4,495
Hi winniec,

One thing that jumps out at me immediately is that I don't see where you have ever set Synchronous to True:
tab.Screen.Synchronous = True
Even though it's a VBScript manual, Scripting Essentials explains in chapter 4 why this is so vital to be sure you don't miss data (section with Avoid "Missing" Data with Screen.Synchronous = True as the title).

Also, a minor thing, in one spot you are using \n with the Send() instead of \r:
        ###Send the commands to the tab
            for command in COMMANDS:
What your script does is very close to one of our example scripts in the forums here so you might look it over for further tips/clues.

VanDyke Software
Technical Support
(505) 332-5730
Reply With Quote