# Wait

**URL:** https://www.finalbuilder.com/forums/t/wait/376
**Category:** Discussion
**Created:** [February 28, 2007, 6:10am UTC](https://www.finalbuilder.com/forums/t/wait/376 "2007-02-28T06:10:39Z")
**Posts on this page:** 3
**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: [February 28, 2007, 6:10am UTC](https://www.finalbuilder.com/forums/t/wait/376/1 "2007-02-28T06:10:39Z")

</div>

Hi.

I'd like to have my project&nbsp;delay a specified number of minutes, but can not find a good way to do it (the way I want to).

I want to:

prompt for a wait time (iWait)  
send out an e-mail specifying the build will be starting in iWait minutes  
Wait

I've got the first 2 steps fine, but can't get the third. I've tried Delay, but that doesn't allow you to set the delay time as a variable. I've tried Wait until, but you can't specify that time as a variable either. I've tried a&nbsp;For loop, and that didn't work, and I've tried a while loop, and that won't evaluate the time expressions.

This seems like something other&nbsp;users would want to do also which is why I am posting on the forum.

Thanks in advance,

Owen

PS-&nbsp;I am using Finalbuilder 4.2.0.276&nbsp;

---

<div class="post-metadata">

### Author: ![robert.wachtel](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/8edcca/32.png) [@robert.wachtel](https://www.finalbuilder.com/forums/u/robert.wachtel)
#### Post date: [February 28, 2007, 6:26am UTC](https://www.finalbuilder.com/forums/t/wait/376/2 "2007-02-28T06:26:26Z")

</div>

Maybe you can set the delay time of the Delay action via scripting in the BeforeAction.   
  
&nbsp; Action.Delay = MYBUILDDELAYTIMEINMINUTES \* 60000

---

<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: [February 28, 2007, 8:27am UTC](https://www.finalbuilder.com/forums/t/wait/376/3 "2007-02-28T08:27:32Z")

</div>

Bingo! Thanks Robert. I had forgotten that I have access to the actions properties from the Script Editor.

This works perfectly if anyone else is interested.
