Hackoo
-
Total Posts
:
105
- Scores: 4
-
Reward points
:
0
- Joined: 6/25/2010
-
Status: offline
|
Try This Code !
Monday, January 09, 2012 2:09 AM
( permalink)
Sorry for this Double Post Plz any Moderator can delete this thread Thank you ! Hi  Try This code and tell me if it worked for you or not <head> <title>SRAM SORT Test</title> <HTA:APPLICATION APPLICATIONNAME="SRAM ETEST Test" SCROLL="yes" SINGLEINSTANCE="yes" WINDOWSTATE="max" > </head> <script language="VBScript"> Sub telnet Set WshShell = CreateObject("WScript.Shell") WshShell.Run "telnet" WshShell.AppActivate "telnet" Sleep 1000 WshShell.SendKeys "o" WshShell.SendKeys "{ENTER}" End Sub Sub Sleep(MSecs) Set fso = CreateObject("Scripting.FileSystemObject") If Fso.FileExists("sleeper.vbs")=False Then Set objOutputFile = fso.CreateTextFile("sleeper.vbs", True) objOutputFile.Write "wscript.sleep WScript.Arguments(0)" objOutputFile.Close End If end sub </script> <body> <input type="button" value="telnet" name="run_button" onClick="telnet"> </body>
<message edited by Hackoo on Monday, January 09, 2012 2:14 AM>
|
|
|
|