Hi Samuel, you can use either moi.ui.alert( 'msg' ) to pop up an alert dialog, or yes moi.log( 'msg' ); will put it in the diagnostic log which is not saved to disk though but can be shown in a pop up MoI window by putting in the following script on a shortcut key:
script: /* show log window */ moi.ui.createDialog( 'ShowLog.htm' );
moi.ui.alert() can be good for individual messages, the log is good if you want to output a whole bunch of stuff and look at it all at once later rather than as individual pop up messages.
Hope this helps!
- Michael
|