AutoHotkey Community

It is currently May 26th, 2012, 11:37 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: November 6th, 2009, 5:03 pm 
Offline

Joined: November 6th, 2009, 5:00 pm
Posts: 1
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!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 6th, 2009, 5:06 pm 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
Code:
{Enter 34}

_________________
AHK FAQ
TF : Text files & strings lib, TF Forum


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 6th, 2009, 5:08 pm 
Offline

Joined: February 17th, 2008, 7:09 am
Posts: 536
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.


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Leef_me, Pulover, rbrtryn, XstatyK and 48 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