i made this auto-talker:
Code:
Gui, Color, red
Gui, Font, S8 Cwhite w600, Arial ;*******
Gui, Add, Text, x120 y5 w110,Auto Talker
Gui, Add, Text, x15 y53,De tekst: ; p = previous
Gui, Add, Text, xp y77 wp,Pauze(in milliseconden):
Gui, Font, S8 Cred w600, Arial ;*********
Gui, Add, Edit, Text x130 y50 w150 vtext,
Gui, Add, Edit, number x130 y80 w150 vduration,
Gui, Add, Button, Default x80 y146 w56 galgud,&OK
Gui, Add, Button, x150 y146 w56 gquit,&Sluit
Gui, Show, Center w300 h190
Return
algud:
Gui, Submit, Nohide
Hotkey, F1, DoThis
RETURN
DoThis:
Loop
{
if GetKeyState("z")
break
else
Sleep, %duration%
Send, %text% {ENTER}
}
Return
Quit:
ExitApp
Return
i want that if i press f1, the auto-talker start. that works
but i want too that if i press f2, the auto-talker stops...
how can i do that???????????
plz help me!