WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Functions

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

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:   W13109
Filename:   RunWait Not Working with Word Perfect 60.txt
File Created: 1999:04:15:16:51:48
Last Updated: 1999:04:15:16:51:48