I have a large script with several 'Waitfor' commands the problem is that some of the returned screens may exceed one page and I am prompted with "press any key to continue or press(q) to quit'. Therefore, when I'm testing for a returned string, I never know when this prompt will crop up. How can I test for this everytime by default?
I.e.
waitfor "press(q) to quit"
OR
waitfor "required response abcd.... etc'
I.e.
waitfor "press(q) to quit"
OR
waitfor "required response abcd.... etc'