I'm creating a script in a batch file. I want it to look someone is typing text when they open it.
Is there a easy way to do this? I didn't find anything in the last hour. Maybe I didn't search good
Thanks.
I'm creating a script in a batch file. I want it to look someone is typing text when they open it.
Is there a easy way to do this? I didn't find anything in the last hour. Maybe I didn't search good
Thanks.
@echo off
for %%i in (h e l l o) do (
set /p a=%%i<nul
ping 0.0.0.0 -n 2.5>nul 2>&1
)
try this
EDIT
this is what i use now
@ECHO OFF
call :talk %*
exit /b
:talk
if "%~1" EQU "" exit /b
set _=%~1
for /f "tokens=2 delims=# " %%i in ('prompt #$E#$H# ^& cmd /k ^<nul') do set BS=%%i
set speed=
if "%~2" EQU "" set speed=10000
if "%~2" EQU "/s" set speed=15000
if "%~2" EQU "/f" set speed=4000
if not defined speed (
echo useage: %~n0 "text" ^(/f^|/s^)
exit /b
)
:top
set /p=.%BS%%_:~0,1%<nul
for /l %%i in (1,1,%speed%) do call
set _=%_:~1%
if defined _ goto top
exit /b