PShowErrorAlert

Turns on or suppresses the display of error alerts normally suppressed when a plug-in or script is running.


Command constructor

PShowErrorAlert(PMBool bState);
false to suppress error alerts when a plug-in or script is running (the PageMaker default state)
true to display error alerts when a plug-in or script is running
Caution: Always turn off error alerts. If you enable the display of error alerts, always turn them off before your plug-in or script finishes. Otherwise, PageMaker could display them while another plug-in or script is running. The PShowErrorAlert command has no menu equivalent; you must turn off the error alerts using this command.

Example. The following example enables the display of error alerts.

PShowErrorAlert(true);


See also

The PGetShowErrorAlert query


Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support