The Delay action does not seem to let me put a %delayseconds% type variable in the counter fields for setting. I want to set the delay to x number of minutes based on some variable. How can I do that?
Hi Peter,
Unfortunately this is one of the limitations of using the numeric up/down control, to work around it just set the value in the action’s BeforeAction script event, so for example:
[Javascript]
Action.Delay = Delay_Variable;
Where “Delay_Variable” is the name of the variable containing the number of milliseconds that the delay should be set to.
Regards,
Paul.
Thanks, I think I just wrote my longest blog post on the simplest thing to do, but I bet it will help others. Though incredibly simple, sometimes it's not as obvious as you might think: