Get last script editor message


#1

I like to hide most toolbars to get the most screen real estate when modeling, but the command feedback bar is usually handy if there is a Warning or Error message. I want to be able to query the last command so that I can use it in a custom HUD display on my modeling panels.

I can’t seem to find any MEL commands to do this.

Thanks. :wavey:


#2

I’ve tried enabling -writeHistory on the scriptEditorInfo command and then I read the last line within there, but this won’t work because sometimes the last result isn’t the same one in the command feedback line.

You would think Maya would have a global variable that would always store whats inside the command line feedback.

If anyone has any ideas let me know. :banghead: