How to get submission result with Maxscript.

I’m making render submission script for our studio.
I’m piggy backing on original Deadline submission dialog to set Deadline settings and submit.
It was breeze since the dialog is a maxscript rollout.

Now I want to get the message that I can see in log window in my rollout.
Would it be possible?

If you want to get the submission result returned by the DeadlineCommandBG (which is being called by the SMTDFunctions.WaitForCommandToComplete() call), then all you have to do is call

renderMsg = SMTDFunctions.getRenderMessage()

Worked perfectly beautifully.

THANKS!!