just a code to build on to

By Tweek on Jun 05, 2011

ok again this code "yes is parts of codes" i did do this all by hand.
if any of you have a problum with this please just back off.

al this does is popup your wordpad and wright some stuff the delet it.
then merlin pops up and says stuff the the wordpad again
its nuthing realy
no point to it but if you wanted to start vbs it will help teach you.

you have to save this in notepad as a .vbs

msgbox("Do you want to begin?"),3,("WARNING")

Set wshshell = wscript.CreateObject("WScript.Shell")
Wshshell.run "Wordpad"

wscript.sleep 1000
wshshell.sendkeys "D"
wscript.sleep 100
wshshell.sendkeys "o"
wscript.sleep 100
wshshell.sendkeys "w"
wscript.sleep 100
wshshell.sendkeys "n"
wscript.sleep 100
wshshell.sendkeys "i"
wscript.sleep 100
wshshell.sendkeys "n"
wscript.sleep 100
wshshell.sendkeys "g"
wscript.sleep 100
wshshell.sendkeys " "
wscript.sleep 100
wshshell.sendkeys "V"
wscript.sleep 100
wshshell.sendkeys "i"
wscript.sleep 100
wshshell.sendkeys "r"
wscript.sleep 100
wshshell.sendkeys "u"
wscript.sleep 100
wshshell.sendkeys "s"
wscript.sleep 100
wshshell.sendkeys " "
wscript.sleep 100
wshshell.sendkeys "P"
wscript.sleep 100
wshshell.sendkeys "l"
wscript.sleep 100
wshshell.sendkeys "e"
wscript.sleep 100
wshshell.sendkeys "a"
wscript.sleep 100
wshshell.sendkeys "s"
wscript.sleep 100
wshshell.sendkeys "e"
wscript.sleep 100
wshshell.sendkeys " "
wscript.sleep 100
wshshell.sendkeys "W"
wscript.sleep 100
wshshell.sendkeys "a"
wscript.sleep 100
wshshell.sendkeys "i"
wscript.sleep 100
wshshell.sendkeys "t"
wscript.sleep 1000
wshshell.sendkeys "."
wscript.sleep 1000
wshshell.sendkeys "."
wscript.sleep 1000
wshshell.sendkeys "."
wscript.sleep 1000
wshshell.sendkeys "."
wscript.sleep 1000
wshshell.sendkeys "."
wscript.sleep 1000
wshshell.sendkeys " "
wscript.sleep 1000
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "D"
wscript.sleep 100
wshshell.sendkeys "o"
wscript.sleep 100
wshshell.sendkeys "w"
wscript.sleep 100
wshshell.sendkeys "n"
wscript.sleep 100
wshshell.sendkeys "l"
wscript.sleep 100
wshshell.sendkeys "o"
wscript.sleep 100
wshshell.sendkeys "a"
wscript.sleep 100
wshshell.sendkeys "d"
wscript.sleep 100
wshshell.sendkeys " "
wscript.sleep 100
wshshell.sendkeys "C"
wscript.sleep 100
wshshell.sendkeys "o"
wscript.sleep 100
wshshell.sendkeys "m"
wscript.sleep 100
wshshell.sendkeys "p"
wscript.sleep 100
wshshell.sendkeys "l"
wscript.sleep 100
wshshell.sendkeys "e"
wscript.sleep 100
wshshell.sendkeys "a"
wscript.sleep 100
wshshell.sendkeys "t"
wscript.sleep 100
wshshell.sendkeys "."
wscript.sleep 1000
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 1000
wscript.sleep 1000

StrAgentName2 = "MERLIN"
StrAgentPath2 = "C:\Windows\Msagent\Chars\" & strAgentName2 & ".Acs"
Set objAgent2 = CreateObject("Agent.Control.2")
ObjAgent2.Connected = TRUE
ObjAgent2.Characters.Load strAgentName2, strAgentPath2
Set objPeter = objAgent2.Characters.Character(strAgentName2)
ObjPeter.MoveTo 400,550
ObjPeter.Show

ObjPeter.Play "GetAttention"
ObjPeter.Play "GetAttentionReturn"
objpeter.play "Wave"
ObjPeter.Speak("Hi I'm merlin, I'm here to take control of your computer")
Wscript.Sleep 2000
Wscript.Sleep 1000
objpeter.speak("First im going to take a nap.")
Wscript.Sleep 1000
objpeter.play "Idle3_1" 
Wscript.Sleep 1000
Wscript.Sleep 1000
Wscript.Sleep 1000
objpeter.speak("never mind")
Wscript.Sleep 1000          
Wscript.Sleep 1000
Wscript.Sleep 1000
objpeter.play "DoMagic2"
Wscript.Sleep 1000
Wscript.Sleep 1000
Wscript.Sleep 1000
Wscript.Sleep 1000
Wscript.Sleep 1000
objpeter.speak("Well it looks like im done here")
Wscript.Sleep 1000
Wscript.Sleep 1000

objpeter.hide
Do While objPeter.Visible = True
Loop

wscript.sleep 1000
wshshell.sendkeys " "
wscript.sleep 100
wshshell.sendkeys "T"
wscript.sleep 100
wshshell.sendkeys "h"
wscript.sleep 100
wshshell.sendkeys "i"
wscript.sleep 100
wshshell.sendkeys "s"
wscript.sleep 100
wshshell.sendkeys " "
wscript.sleep 100
wshshell.sendkeys "V"
wscript.sleep 100
wshshell.sendkeys "i"
wscript.sleep 100
wshshell.sendkeys "r"
wscript.sleep 100
wshshell.sendkeys "u"
wscript.sleep 100
wshshell.sendkeys "s"
wscript.sleep 100
wshshell.sendkeys " "
wscript.sleep 100
wshshell.sendkeys "i"
wscript.sleep 100
wshshell.sendkeys "s"
wscript.sleep 100
wshshell.sendkeys " "
wscript.sleep 100
wshshell.sendkeys "c"
wscript.sleep 100
wshshell.sendkeys "a"
wscript.sleep 100
wshshell.sendkeys "l"
wscript.sleep 100
wshshell.sendkeys "l"
wscript.sleep 100
wshshell.sendkeys "e"
wscript.sleep 100
wshshell.sendkeys "d"
wscript.sleep 100
wshshell.sendkeys " "
wscript.sleep 100
wshshell.sendkeys "Q"
wscript.sleep 100
wshshell.sendkeys "u"
wscript.sleep 100
wshshell.sendkeys "i"
wscript.sleep 100
wshshell.sendkeys "c"
wscript.sleep 100
wshshell.sendkeys "k"
wscript.sleep 100
wshshell.sendkeys " "
wscript.sleep 100
wshshell.sendkeys "K"
wscript.sleep 100
wshshell.sendkeys "i"
wscript.sleep 100
wshshell.sendkeys "l"
wscript.sleep 100
wshshell.sendkeys "l"
wscript.sleep 100
wshshell.sendkeys "."
wscript.sleep 100
wshshell.sendkeys " "
wscript.sleep 1000
wshshell.sendkeys "I"
wscript.sleep 100
wshshell.sendkeys "t"
wscript.sleep 100
wshshell.sendkeys "'"
wscript.sleep 100
wshshell.sendkeys "s"
wscript.sleep 100
wshshell.sendkeys " "
wscript.sleep 100
wshshell.sendkeys "m"
wscript.sleep 100
wshshell.sendkeys "a"
wscript.sleep 100
wshshell.sendkeys "d"
wscript.sleep 100
wshshell.sendkeys "e"
wscript.sleep 100
wshshell.sendkeys " "
wscript.sleep 100
wshshell.sendkeys "t"
wscript.sleep 100
wshshell.sendkeys "o"
wscript.sleep 100
wshshell.sendkeys " "
wscript.sleep 100
wshshell.sendkeys "j"
wscript.sleep 100
wshshell.sendkeys "u"
wscript.sleep 100
wshshell.sendkeys "s"
wscript.sleep 100
wshshell.sendkeys "t"
wscript.sleep 100
wshshell.sendkeys " "
wscript.sleep 100
wshshell.sendkeys "p"
wscript.sleep 100
wshshell.sendkeys "i"
wscript.sleep 100
wshshell.sendkeys "s"
wscript.sleep 100
wshshell.sendkeys "s"
wscript.sleep 100
wshshell.sendkeys " "
wscript.sleep 100
wshshell.sendkeys "y"
wscript.sleep 100
wshshell.sendkeys "o"
wscript.sleep 100
wshshell.sendkeys "u"
wscript.sleep 100
wshshell.sendkeys " "
wscript.sleep 100
wshshell.sendkeys "o"
wscript.sleep 100
wshshell.sendkeys "f"
wscript.sleep 100
wshshell.sendkeys "f"
wscript.sleep 100
wshshell.sendkeys "."
wscript.sleep 1000
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"
wscript.sleep 100
wshshell.sendkeys "{bs}"

Comments

Sign in to comment.
KilllerX   -  Jun 11, 2011

Seems pointless... Just a basic... Type this... and you didn't even type downloading correctly... you did Downing... -.- really... Pretty much what it does is a 1000ms (1s) timer between each letter... then deletes it. to type the next thing... Really... Pointless... Reminds me of the endless cycle of Javascript Pop-ups... Pretty much anyone with "BASIC" knowledge could script this....

-.- VBS just seems like a weaker (not as portable) Javascript based language.

 Respond  
Epic   -  Jun 06, 2011

all i gotta say now is ego.

 Respond  
Tweek   -  Jun 06, 2011

we can go with that if it will end the convo

 Respond  
Wader   -  Jun 06, 2011

So its a case of you dont know how to copy and paste?

 Respond  
Tweek   -  Jun 06, 2011

typed it all in thank you very much
i dont do that copy and past bullshit

 Respond  
Wader   -  Jun 06, 2011

lol "if you knew vbs"

You've just copy and pasted the same 2 lines of code over and over, hard classify that as knowing a language.

 Respond  
blackvenomm666   -  Jun 06, 2011

i was just bored and literally jus learned that bout 5 min before i posted it hahaha

 Respond  
jaytea   -  Jun 06, 2011

ok useless script not even pertaining to this but oh well im bored

<html>
<body>
<script type="text/vbscript">
document.write("I am bored lets go eat!")
</script>
</body>
</html>

an odd example given that it is doomed to not work outside of IE or any browser that includes a VBS interpreter. Firefox & Chrome don't, to name a couple :P document.write() is a method of the DOM (Document Object Model), an environment which, within a browser, is shared by both VBS and JavaScript. now, JavaScript IS supported by many of the popular browsers, so that's the script type we should prefer in these cases.

of course, it still serves as a introduction of sorts to the syntax of VBS, even if its use within a webpage is anything but commonplace.

i'm pleased to see you didn't post it as a new snippet though ;) perhaps Tweek could take a page out of your book

 Respond  
blackvenomm666   -  Jun 06, 2011

ok useless script not even pertaining to this but oh well im bored

<html>
<body>
<script type="text/vbscript">
document.write("I am bored lets go eat!")
</script>
</body>
</html>
 Respond  
blackvenomm666   -  Jun 06, 2011

was just a thought jaytea

 Respond  
jaytea   -  Jun 06, 2011

hmm i think jaytea should make a vbs script and post it just to see what he's got:)

i would hope that the significance of my contribution to this site over the years does not hinge upon my willingness to create some snippet in an arbitrary scripting language ;P

 Respond  
D34th   -  Jun 06, 2011

Okay there smart ass but i do call it programing rather than scripting :P

 Respond  
blackvenomm666   -  Jun 06, 2011

http://www.mactech.com/articles/mactech/Vol.15/15.09/ScriptingLanguages/index.html
Volume Number: 15 (1999)
Issue Number: 9
Column Tag: Systems

Scripting Languages
by Rich Morin and Vicki Brown

A Cross-OS Perspective
Background
Ask most computer users (or programmers) about scripting languages and you'll get a wide variety of answers. Most users, however, will give you examples of languages they "know" are scripting languages - AppleScript, the Unix shells, Visual Basic, JavaScript, Perl, Tcl/Tk...

Ask about system programming languages and you'll be given a different set of examples. This time C, C++, Java, and/or Pascal will be mentioned. Everyone knows which languages fit which categories, but not everyone can explain why. And what about languages such as Perl, which seem to have elements of both?

 Respond  
D34th   -  Jun 06, 2011

Incorrect Ryan mSL "SL" Scripting language

vbs is an actual programing only thing ive seen to be scripting is mIRC

 Respond  
blackvenomm666   -  Jun 06, 2011

actually. the act of creating any code is called scripting d34th:)

 Respond  
D34th   -  Jun 06, 2011

Scirpting is way different from VBS to be honest i doubt that he can do it >.<

 Respond  
blackvenomm666   -  Jun 06, 2011

i am not saying he cannot do it. i know jaytea can script very well. i'm just saying should post one just to see some diff stuff from him.

 Respond  
D34th   -  Jun 06, 2011

Agreed @ Ryan :P

 Respond  
Tweek   -  Jun 06, 2011

same here

 Respond  
blackvenomm666   -  Jun 06, 2011

hmm i think jaytea should make a vbs script and post it just to see what he's got:)

 Respond  
napa182   -  Jun 06, 2011

Sigh
you are an utter moron.. Enough said.

 Respond  
Tweek   -  Jun 06, 2011

maybe with MIRC but not VBS and as i said you are not worth my time

 Respond  
napa182   -  Jun 06, 2011

Tweek stop being such a lil troll an listen to jaytea. like i said before on ur other snippet 100 to 1 he knows a hell of a lot more sh**it then you.

 Respond  
Tweek   -  Jun 06, 2011

bro you realy need to back the fuck off!!!!!
i know what i fucking ment to say. the bullshit you just said is a longer way to put it.
the day you post a working vbs on here is the day i stop thinking i know what im doing.
but untell then go fuck yourself

 Respond  
jaytea   -  Jun 06, 2011

imo you should explain what the snippit does for people who are browsing and are interested, perhaphs explain the purpose of it ._.

the problem is he has no more idea about this snippet than the average user. he's found a few VBS examples online, ran them, observed that if he copies and pastes various parts then he can add on to and reproduce existing behaviour (something that any primate on this planet is capable of doing :P), and crudely pieced these snippets together.

ok, this shows that he's perhaps trying to learn the language, which is admirable. but we do not need to see all points of his learning curve, especially not these snippets that he himself cannot adequately explain and into which he's put little to no effort.

wscript.sleep 1000 is a kinda time limit to when you want the person to do something.

what you meant to say is "pause the currently executing script (thread) for 1000ms (1 second)". this is what happens when you don't understand something, you spew nonsense and it leaves those users who were actually interested in your snippet uninformed, or worse, misinformed.

 Respond  
Epic   -  Jun 05, 2011

imo you should explain what the snippit does for people who are browsing and are interested, perhaphs explain the purpose of it ._.

 Respond  
Tweek   -  Jun 05, 2011

wscript.sleep 1000 is a kinda time limit to when you want the person to do something. i use to have 6 pple talking to echather but i lost that script.

 Respond  
xbox_gamer1   -  Jun 05, 2011

well first off i do not see the point in this script looks point less and i do not get this part in the script

 wscript.sleep 1000 

welcome to hawkee!!

 Respond  
Epic   -  Jun 05, 2011

no shit sherloc

 Respond  
Tweek   -  Jun 05, 2011

1000 and 100 is x amount of time to wait. 1000 is longer then 100

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.