As an alternative, could I implement a reply-with-close button that closed a mail while opening a reply to type into?
Following code will close the mail window. It make sure the mail window is opened. Incorrectly calling the “CloseWindow” can result closing the GroupWise client window.
if (lcase(groupwise.EnvCurrentViewName) = "mail") then groupwise.CloseWindow() end if
You can create a Formativ Applet with the code above:
– Integrate the applet to Email – OnReply/OnForward event (In Formativ IDE, select the applet, select Integration tab)
– Change the Applet execution direction (arrow symbol) to “Before GroupWise Event”, restart the GroupWise client.
When the user press the reply/forward button then Applet will execute, it will close mail window if opened. If user press the reply/forward button from the message toolbar then Applet will close the message, however the draft message will not be closed.
Hope this helps.