If all you're doing is looking for "ogin:", then you already have a VBScript example that shows you how that is done with a WaitForString call to the Screen object.
Depending on what you want to accomplish, you may have better luck converting to a python script.
Either way you want to go, it's up to you to decide what will work best for your scenario.
My suggestion would be to *not* use a logon script if you're trying to iterate over a lot of sessions. The mere act of iterating with a script that you're already running disqualifies the idea of using a logon script. I'd suggest that now you know how to drive the dialing process via Serial, you can drive it just the same through python as you could through VBScript; drop the logon script and iterate with your python code over all your existing sessions, dial each number, look for "ogin:" or some other data suggesting success/fail and move on.
--Jake
|