Messenger Plus! Live - Scripting Documentation

The OnEvent_Uninitialize event is fired when the script is ending.

Syntax

OnEvent_Uninitialize(
    [boolean] MessengerExit
);

Parameters

MessengerExit
[boolean] Specifies the reason for the event to occur. If this parameter is true, the event was generated during the termination of the Messenger process. If it is false, the event was generated while the script was stopped or removed.

Return Value

No value has to be returned by this event.

Remarks

You can use the MessengerExit parameter to adapt the close-up routine of your script when Windows Live Messenger is closed. For example, no user input should be requested from the user when Messenger is terminating.

This event is guaranteed to be sent when Messenger is closed properly. You can rely on this event to do some last minute clean-up or saving. Do not expect OnEvent_SignOut to always be sent as it is not. Whenever possible, avoid interacting with the user in this event and do not interact with any window.

Event Information

Event Source Messenger Plus!
Availability Messenger Plus! Live 4.00

See Also

Messenger Plus! Events, OnEvent_Initialize.