AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

is their anyway to do this?

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
mixand
Guest





PostPosted: Thu Feb 15, 2007 10:32 am    Post subject: is their anyway to do this? Reply with quote

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...

PostPosted: Thu Feb 15, 2007 11:19 am    Post subject: Re: is their anyway to do this? Reply with quote

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
View user's profile Send private message Visit poster's website
jps



Joined: 02 Sep 2006
Posts: 253
Location: Scotland

PostPosted: Thu Feb 15, 2007 1:06 pm    Post subject: Reply with quote

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 Laughing
Back to top
View user's profile Send private message
mixand
Guest





PostPosted: Fri Feb 16, 2007 4:08 am    Post subject: Reply with quote

thankyou very much! Smile
and also it is not for spamming
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group