06-29-2008, 12:54 PM
Inspired by Neotec, credit to him also.
copy paste this into notepad and save as something.vbs
Very userfriendly and easy to use. Neotec's one is hard to stop since it spams while you try to kill the process..so i wanted to take it a little further, Credits to neotec.
copy paste this into notepad and save as something.vbs
Quote:@echo off
title Auto Writer!
:intro
echo .
echo ----------------------------------------------------------------------------
echo ---------------------------Batch / VBS autowriter---------------------------
echo ----------------------------------------------------------------------------
echo .
echo .
set /p message=Type message to Autowrite:
echo .
echo .
echo set ss = createobject("wscript.shell")>>macro.vbs
echo wscript.sleep 5000>>macro.vbs
echo do >>macro.vbs
echo ss.sendkeys "%message%" >>macro.vbs
echo ss.sendkeys "{enter}">>macro.vbs
echo Time between each repeat?
set /p time=In seconds:
echo wscript.sleep %time%000 >>macro.vbs
echo loop >>macro.vbs
echo .
echo .
echo press any key to start the macro
pause >nul
start macro.vbs
echo .
echo macro will start in 5 seconds!
:stop
set /p stop=Press "s" to stop the macro:
if %stop%==s goto end
goto stop
:end
tskill wscript
del macro.vbs
pause
cls
goto intro
Very userfriendly and easy to use. Neotec's one is hard to stop since it spams while you try to kill the process..so i wanted to take it a little further, Credits to neotec.