Re: Telnet vbscript error

2013-04-09 Thread Itschak Mugzach
Telnet connects me to the default application. In this case, tso. I know it is tso for sure as I view rhe dos window opened by the script. Dino or rex, why is tso stutting the userid? בתאריך 9 באפר 2013 14:10, מאת "Elardus Engelbrecht" < elardus.engelbre...@sita.co.za>: > Itschak Mugzach wrote: >

Re: Telnet vbscript error

2013-04-09 Thread Elardus Engelbrecht
Itschak Mugzach wrote: >We are trying to script into tso with a VBSCRIPT. The script looks like this: WARNING and disclaimer - I have NO experience with VBSCRIPT, but have experience in scripting TSO sessions. >WshShell.SendKeys "o 10.1.13.228" >WshShell.Sendkeys("{Enter}") >WScript.Sleep 1000

Re: Telnet vbscript error

2013-04-09 Thread Jantje.
On Mon, 8 Apr 2013 07:07:11 -0700, Itschak Mugzach wrote: >Hi, > >We are trying to script into tso with a VBSCRIPT. The script looks like I can't help you with the VBScript; that really is not my strong point... If I need scripting a 3270 session, I use Tom Brennan's Vista TN3270 macro languag

Telnet vbscript error

2013-04-08 Thread Itschak Mugzach
Hi, We are trying to script into tso with a VBSCRIPT. The script looks like this: Option Explicit On Error Resume Next Dim WshShell set WshShell=CreateObject("WScript.Shell") WshShell.run "cmd.exe" WScript.Sleep 3000 WshShell.SendKeys "telnet" WshShell.Sendkeys("{Enter}") WScript.Sleep 1000 Wsh