AutoHotkey Community

It is currently May 24th, 2012, 6:17 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: February 15th, 2007, 10:32 am 
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.


Report this post
Top
  
Reply with quote  
PostPosted: February 15th, 2007, 11:19 am 
Offline
User avatar

Joined: December 20th, 2004, 12:19 pm
Posts: 794
Location: LooseChange911.com Ask Questions, Demand Answers █ The WTC bldgs █ shouldn't have fallen █ that fast
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...

_________________
AutoHotkey-Hotstring.ahk - Helping the world spell "AutoHotkey" correctly! (btw, it's a lowercase k!)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 15th, 2007, 1:06 pm 
Offline

Joined: September 2nd, 2006, 6:39 am
Posts: 279
Location: Scotland
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 :lol:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 16th, 2007, 4:08 am 
thankyou very much! :)
and also it is not for spamming


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: 0x150||ISO, Bing [Bot], engunneer, Google [Bot], Kgalv, Kirtman, mc-lemons, Ohnitiel, rbrtryn, tomL, Yahoo [Bot] and 73 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group