How can a macro a be set to allow for keyboard input then resume once the input has been entered?