Scripting

  • 1.  The VBScript MessageBox method is nice and the onl

    Posted 04-27-2012 14:56
    The VBScript MessageBox method is nice and the only option for MAS 200, but it isn't MsgBox With MsgBox I often add a carriage return chr(13) and line feed chr(10) (funny how teletype terms have survived) to break the lines and provide a bit of formatting to longer user messages. However, the MessageBox method new with Advanced Scripting doesn't appear to support these code. Does anyone know a work-around?


  • 2.  RE: The VBScript MessageBox method is nice and the onl

    Posted 04-27-2012 15:03
    I seem to recall the old vbCRLF working for me as a substitute for CHR(13) and CHR(10).


  • 3.  RE: The VBScript MessageBox method is nice and the onl

    Posted 04-27-2012 15:04
    This seems to work: retStrVal = oSession.AsObject(oSession.UI).MessageBox("""",""Line1"" & vbCRLF & ""Line2"" & vbCRLF & ""Line3"")


  • 4.  RE: The VBScript MessageBox method is nice and the onl

    Posted 04-27-2012 15:06
    Thanks @AlnoorCassim ! Much appreciated!