camdo2
2007-10-23 17:53:08
The following script that I will be presenting is a simple auto talker where you can enter in two phrases and declare a variable so you can say either one.
Thanks,
Camdo Clark :D
program FirstAutoTyper;
//By Camdo Clark
//This is my first Auto Typer.
var
x: Integer;
begin
x:=0; // If you want the first phrase you put in to play, make this number 1. If you want the second phrase to play, put in any other number.
repeat
if(x=1) then
begin
sendkeys(''+chr(13)); //Put whatever you want to say in the apostrophes.
end else
sendkeys(''+chr(13)); //You can have the computer say something else too. Everything else applies above.
wait(5000); //Put how many milliseconds the program will wait until saying the word(s) to repeat again in the parenthesees.
until(false);
end.
Thanks,
Camdo Clark :D