![]() |
Macro That Prompts For Password In Order To E |
The information in this document applies to:
WordPerfect® 5.1 for DOS
Problem
Solutions: A customer wanted a macro to have WordPerfect ask for a password in order to enter the program. The following macro accomplishes this. In order for this macro to work, users need to have a line in the AUTOEXEC.BAT file that reads SET WP=/M- (The ? should be replaced with whatever you wish the actual password to be.) {LABEL}Top~ {DISPLAY OFF}{CANCEL OFF} {ASSIGN} passwrd~?~ {TEXT}word~Enter password: ~ {IF}"{VARIABLE}word~"="{VARIABLE}passwrd~"~ {GO}Quit~ {ELSE} {Exit}ny {END IF} {LABEL}Quit~ {QUIT} |
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. |