Place the statement that calls the auto maximise function at the top of the following:

Void Function DocumentLoadedEvent ()
this is the function for reading a new incoming message.
void Function FocusChangedEvent (handle FocusWindow, handle PrevWindow)
This is the function for creating an outgoing message.
Script ReplyDirectlyToSender ()
Script ReplyToMessage ()
Script ReplyAll ()

AutoMaximize.html
Go Back