Top Navigational Bar

Macros - Invoking Another Macro While First M
DocumentID: 653794
Revision Date: 29-Feb-96 8:29:26 PM

The information in this document applies to:
WordPerfect® 5.1 for DOS

Problem

Symptoms: The customer is trying to execute a macro during a pause in another macro's execution. This action is producing erratic results. Solutions: The cause of the user's problem is that they are trying to execute a named macro when the first macro is "pausing." When the user presses Enter to have WordPerfect accept the name of the (second) macro, the already-invoked macro gets first dibs on the Enter command and resumes the macro. There are a number of potential ways to get around this problem. One solution might be to press Alt-F10, type the macro name and then press F7 instead of Enter. The drawback is that the original macro will resume if any {ENTER} commands occur in the "nested" macro. Another option is to use the {PAUSE KEY} command in the first macro and specify a key which the customer never uses in normal typing or in macros. A {STATUS PROMPT} command can also be included to the left of the {PAUSE KEY} command which will remind the user about the keystroke needed to resume the original macro.

Answer:

Details:


Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER.