LOTUSSCRIPT/COM/OLE CLASSES


Examples: QueryClose event
1. This script asks users if they're sure they want to exit the current document. If they click the Yes button, the document closes; if they click No, the document remains open.
2. If a user has been editing the current document and closes it, Notes first asks if the user wants to save the document. Regardless of the response, this script then asks if the user wants to mail the document. If the user clicks the Yes button, the document gets mailed to whomever is listed in the SendTo field.
See Also