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 

Key input amount within loop

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



Joined: 08 May 2005
Posts: 41
Location: Jakarta, Indonesia

PostPosted: Fri Apr 06, 2007 7:19 am    Post subject: Key input amount within loop Reply with quote

I want to use the loop function to do a handling several times. Part of the handling is to use the {ENTER} key. I want to use the enter key after every loop one more extra. How to do it?

I use Loop 10
At first: {ENTER}
at second loop: {ENTER 2}
till {ENTER 10}

Bart
Back to top
View user's profile Send private message Visit poster's website
nick



Joined: 24 Aug 2005
Posts: 549
Location: Berlin / Germany

PostPosted: Fri Apr 06, 2007 8:51 am    Post subject: Reply with quote

Code:
{Enter %A_Index%}

_________________
nick Wink
Back to top
View user's profile Send private message
vdongen



Joined: 08 May 2005
Posts: 41
Location: Jakarta, Indonesia

PostPosted: Fri Apr 06, 2007 1:08 pm    Post subject: Reply with quote

Sorry, I am a new in AHK and the Help file didn't make me progressing. Could you assist me more deeply?

Bart
Back to top
View user's profile Send private message Visit poster's website
n-l-i-d
Guest





PostPosted: Fri Apr 06, 2007 1:57 pm    Post subject: Reply with quote

Code:
Loop, 10
{
   Send, {Enter %A_Index%}
}
Back to top
Display posts from previous:   
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