# TAB &gt; ENTER &gt; TAB &gt; ENTER &gt; TAB &gt; ENTER &gt;

**URL:** https://www.finalbuilder.com/forums/t/tab-gt-enter-gt-tab-gt-enter-gt-tab-gt-enter-gt/4441
**Category:** Discussion
**Created:** [July 6, 2010, 10:04am UTC](https://www.finalbuilder.com/forums/t/tab-gt-enter-gt-tab-gt-enter-gt-tab-gt-enter-gt/4441 "2010-07-06T10:04:36Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [July 6, 2010, 10:04am UTC](https://www.finalbuilder.com/forums/t/tab-gt-enter-gt-tab-gt-enter-gt-tab-gt-enter-gt/4441/1 "2010-07-06T10:04:36Z")

</div>

Hi. Is there a way to repeat this action without having to copy and paste the action the amounts of times i need? I need the TAB \> ENTER \> action to be repeated 2000 times. Do i have to copy and paste 2000 times for this to work? cheers

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [July 6, 2010, 10:31am UTC](https://www.finalbuilder.com/forums/t/tab-gt-enter-gt-tab-gt-enter-gt-tab-gt-enter-gt/4441/2 "2010-07-06T10:31:33Z")

</div>

Use a For Loop Action.

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [July 6, 2010, 11:36am UTC](https://www.finalbuilder.com/forums/t/tab-gt-enter-gt-tab-gt-enter-gt-tab-gt-enter-gt/4441/3 "2010-07-06T11:36:33Z")

</div>

Hi vincent. These are the 2 actions.   
  
 Send Key [Tab Key] to [firefox -\> MainWindow.FindChild(“MozillaWindowClass”,null).FindChildCardinal(“MozillaContentWindowClass”,1).FindChild(“MozillaWindowClass”,null)]   
  
 Send Key [Enter] to [firefox -\> MainWindow.FindChild(“MozillaWindowClass”,null).FindChildCardinal(“MozillaContentWindowClass”,1).FindChild(“MozillaWindowClass”,null)]   
  
 I am not able to understand how i turn those into loops with the **For Loop** control. Can you assist?   
 Cheers

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [July 6, 2010, 6:36am UTC](https://www.finalbuilder.com/forums/t/tab-gt-enter-gt-tab-gt-enter-gt-tab-gt-enter-gt/4441/4 "2010-07-06T06:36:31Z")

</div>

Search for “For loop” in your Automise actions then add it above the 2 you already have. In the “For Loop” action properties set “Loop From” to 0 and “Loop To” to 2000.   
 Then click on your 2 existing tasks one by one and then press Control + Right Arrow Key at the same time. This will cause your two tasks to be indented within the “For Loop” when you view it in the designer. This means that the for loop with run 2000 times the statements that are under (indented) it.

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [July 6, 2010, 9:02am UTC](https://www.finalbuilder.com/forums/t/tab-gt-enter-gt-tab-gt-enter-gt-tab-gt-enter-gt/4441/5 "2010-07-06T09:02:51Z")

</div>

> This worked for me a treat. Thank you Matrix.

> 

> Posted By matrixIII on 06 Jul 2010 11:36 AM   
> Search for "For loop" in your Automise actions then add it above the 2 you already have. In the "For Loop" action properties set "Loop From" to 0 and "Loop To" to 2000.   
> Then click on your 2 existing tasks one by one and then press Control + Right Arrow Key at the same time. This will cause your two tasks to be indented within the "For Loop" when you view it in the designer. This means that the for loop with run 2000 times the statements that are under (indented) it.

&nbsp;

---

<div class="post-metadata">

### Author: ![markrowe](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/f04885/32.png) [@markrowe](https://www.finalbuilder.com/forums/u/markrowe)
#### Post date: [August 28, 2010, 11:52am UTC](https://www.finalbuilder.com/forums/t/tab-gt-enter-gt-tab-gt-enter-gt-tab-gt-enter-gt/4441/6 "2010-08-28T11:52:48Z")

</div>

Hi. Thanks for the previous help.   
 How can i speed up the loop action so its like 50 ms and not running at a slow default speed?   
  
 cheers

---

<div class="post-metadata">

### Author: ![stephen.ryan](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/f14d63/32.png) [@stephen.ryan](https://www.finalbuilder.com/forums/u/stephen.ryan)
#### Post date: [September 10, 2010, 12:15pm UTC](https://www.finalbuilder.com/forums/t/tab-gt-enter-gt-tab-gt-enter-gt-tab-gt-enter-gt/4441/7 "2010-09-10T12:15:50Z")

</div>

Hi,   
  
 Unless you have modified the Action Timing settings of one of the child actions (from the Runtime settings) of the loop or added a delay action, it will run as fast as it possibly can. The speed of the loop will be determined by the workload of the actions contained within it.   
  
 Regards,   
 Steve
