Wait

Hi.

I'd like to have my project 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 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 users would want to do also which is why I am posting on the forum.

Thanks in advance,

Owen

PS- I am using Finalbuilder 4.2.0.276 

Maybe you can set the delay time of the Delay action via scripting in the BeforeAction.

  Action.Delay = MYBUILDDELAYTIMEINMINUTES * 60000

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.