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 

How to do a action mulitple times (ie Enter 34 time in a row

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



Joined: 06 Nov 2009
Posts: 1

PostPosted: Fri Nov 06, 2009 4:03 pm    Post subject: How to do a action mulitple times (ie Enter 34 time in a row Reply with quote

I'm trying to simplify some of my script. How would I do something like hit enter multiple times in a row? I'm thinking it will look something like {{ENTER}x34}. Am I even close?

Thanks!
Back to top
View user's profile Send private message
hugov



Joined: 27 May 2007
Posts: 2181

PostPosted: Fri Nov 06, 2009 4:06 pm    Post subject: Reply with quote

Code:
{Enter 34}

_________________
Tut 4 Newbies
TF : Text file & string lib, TF Forum
Back to top
View user's profile Send private message Visit poster's website
rtcvb32



Joined: 17 Feb 2008
Posts: 125

PostPosted: Fri Nov 06, 2009 4:08 pm    Post subject: Reply with quote

http://www.autohotkey.com/docs/commands/Send.htm

Excerpt:
To repeat a keystroke: Enclose in braces the name of the key followed by the number of times to repeat it. For example:

Code:
Send {DEL 4}  ; Presses the Delete key 4 times.
Back to top
View user's profile Send private message Yahoo Messenger
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