Xavier, I would suggest either: a) use "wait ... with messages" or b) modularize the code such that your buttons can pick up where your code left off. IOW, there is no code running while waiting for a button to be pressed. Just save off your progress, and wait for the next click. Hope that helps! - Brian