The script is saved as an external file, and just run at startup of the Acuterm program. There is no local login object, as all of this is stored on the server. Pretty much it is a telnet session, and the acuterm program is smart enough to watch what is being returned to the screen (in...
This seems like it should be a rather easy script. Here is what I have that works, but uses too many CPU cycles:
Sub Main()
Dim user As String
user = "BLAH BLAH"
Dim pass As String
pass = "BLAH BLAH BLAH"
'THIS IS FOR THE INITIAL LOGIN, AND WORKS GREAT
ActiveSession.WriteText user...
Sorry,
It is using Acuterm, which is just a telnet terminal emulator that allows VBA scripts. There is a login prompt programmed into the server that asks for "login:" and "password"
The first "login:" and "password:" is the same for everyone in the company, and is used on the sales floor to...
I need to do an infinite WaitFor for a script I'm writing. The problem is that putting it in a loop and waiting until the function returns 1 eats tons of CPU cycles. Is there a way to do an infinite WaitFor? For example
session.WaitFor(0, [something infinite here], "login:")
I tried just a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.