You've got several timing functions on the Time & Dialog palette. The functions I would avoid are the wait and the Time Delay. These insert a fixed delay and cannot be interupted. Better to poll how much time has elapsed in each iteration of a while loop. The Get Date Time in Seconds, Tick count, or Elapsed Time functions can all be used. For example, with the Elapsed Time function, you set a target time and everytime that time is reached, the output Time Has Elapsed, goes true.