 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
mixand Guest
|
Posted: Thu Feb 15, 2007 10:32 am Post subject: is their anyway to do this? |
|
|
how would i let the user type in somthing, and it loops saying it?
(i know how to do the other just i just don't know how to make whatever i type in (mabye a GUI) and it keeps saying it. |
|
| Back to top |
|
 |
JSLover
Joined: 20 Dec 2004 Posts: 542 Location: LooseChange911.com... the WTC attacks were done by the US Gov't... the official story is a lie...
|
Posted: Thu Feb 15, 2007 11:19 am Post subject: Re: is their anyway to do this? |
|
|
Spamming...in chats, forums or games is BAD...by spamming I mean actually running this "program" (I don't mean your post here is spam)...nobody wants to read your "looping message"...it's easy to do, but no, I won't help with it...or perhaps I should help, then you can get kicked/banned from where ever you intend on using this script...?
Sorry, I don't mean to attack you (or if I haven't misinterpreted your intentions, perhaps I do mean to), but I have no tolerance for people wanting to create annoying/bad programs... _________________
Home • Click image! • Blog |
|
| Back to top |
|
 |
jps
Joined: 02 Sep 2006 Posts: 253 Location: Scotland
|
Posted: Thu Feb 15, 2007 1:06 pm Post subject: |
|
|
| Code: | Gui, Show, w300 h100, Text to Talk
Gui, Add, Text, x5 y5 w30 h20, Text:
Gui, Add, Edit, vTXT x40 y5 w245 R4,Type text in here, And Press TALK to loop saying it.
Gui, Add, Button, w60 h20, TALK
return
GuiClose:
FileDelete, %TEMPFILE%
ExitApp
ButtonTALK:
Gui, Submit, NoHide
TXT = it
TEMPFILE = %TEMP%\SayIt.vbs
IfExist, %TEMPFILE%
FileDelete, %TEMPFILE%
FileAppend, Dim Talk`nSet Talk = WScript.CreateObject("SAPI.SpVoice")`nTalk.Speak "%TXT%", %TEMPFILE%
Loop,
{
Runwait, %TEMPFILE%
}
Return
OnExit, GuiClose
Return
|
I'm also sorry if I have misuderstood your intentions  |
|
| Back to top |
|
 |
mixand Guest
|
Posted: Fri Feb 16, 2007 4:08 am Post subject: |
|
|
thankyou very much!
and also it is not for spamming |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|