WodTelnetDlx Ctrl + C key send using javascript - WeOnlyDo Discussion board

WodTelnetDlx Ctrl + C key send using javascript (wodSSH / wodSSH.NET)

by Pradeep Nair, Friday, April 11, 2008, 22:06 (5857 days ago)

Hi,
Im trying to send Ctrl + C combination using telnet.send() method. Its not getting thro.

Even tried VB script but same issue.. Kindly suggest.
[code]
function splcmd()
telnet.SendSpecial 4096
telnet.Send C & chr(13)
end function

[/code]

Re: WodTelnetDlx Ctrl + C key send using javascrip

by Pradeep Nair, Friday, April 11, 2008, 22:09 (5857 days ago) @ Pradeep Nair

Hi,
Im trying to send Ctrl + C combination using telnet.send() method. Its not getting thro.

Even tried VB script but same issue.. Kindly suggest.
[code]
function splcmd()
telnet.SendSpecial 4096
telnet.Send C & chr(13)
end function

[/code]

Failed to mention, im using OCX component. We are having licensed verion.

Re: WodTelnetDlx Ctrl + C key send using javascrip

by woddrazen, Friday, April 11, 2008, 23:03 (5857 days ago) @ Pradeep Nair

Hi,


Please try to send something like this is wodTelnetDLX Send Method:
[code]ssh1.Send (Chr$(3)) + vbLf[/code]

I think this should fix your issue.

Let us know how it goes.


Regards,
Drazen

Re: WodTelnetDlx Ctrl + C key send using javascrip

by Pradeep Nair, Saturday, April 12, 2008, 09:50 (5857 days ago) @ woddrazen

Thanks it worked only point is i removed $ while using in VBscript.