Try This Code !

Author Message
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)
0
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>
 
#1

    Online Bookmarks Sharing: Share/Bookmark

    Jump to:

    Current active users

    There are 0 members and 1 guests.

    Icon Legend and Permission

    • New Messages
    • No New Messages
    • Hot Topic w/ New Messages
    • Hot Topic w/o New Messages
    • Locked w/ New Messages
    • Locked w/o New Messages
    • Read Message
    • Post New Thread
    • Reply to message
    • Post New Poll
    • Submit Vote
    • Post reward post
    • Delete my own posts
    • Delete my own threads
    • Rate post

    2000-2012 ASPPlayground.NET Forum Version 3.9