I am retiring this website. Please visit my new blog here for all things tech-related: goo.gl/d7D1J

Thursday, April 9, 2009

VBS - Types "whatever" repeatedly

This VBS file will type whatever you choose over and over on any text field you have selected. This serves no real reason but to play a joke on someone.

1. Open Notepad and type:

Set wshShell = wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "You are a fool."
loop


2. Save as .vbs.

(You can edit the "You are a fool." in my code to whatever you like.)

No comments:

Post a Comment

Web Analytics