RunWait Not Working
Keywords: runwait winwaitclose
Problem:
RunWait and RunWaitZoom do not appear to be working correctly to run Word Perfect 6.0. User is getting error messages, or WinBatch just continues on with the script without waiting.
Answer:
Word Perfect 6.0 has a loader program during installation, which calls the EXE and loads it and then exits. What happens is that WinBatch sees the loader exit and then thinks WP has exited so that it can continue on with its script.
Workaround:
After RunWait, put in a 2 or 3 second time delay, with TimeDelay(3), and then do a WinWaitClose of the WordPerfect Window name.
RunWait will also fail if your WinBatch version does not match your Windows Environment. For example, the RunWait command from 16 bit WinBatch will not run under Windows 95 or NT.
Article ID: W13109Filename: RunWait Not Working with Word Perfect 60.txt