Toast

Action response notification with user-defined icon, heading and a message, at the bottom right of the main frame

CLI

toast (message) (heading) (icon) (transition) (duration)

JSON

{"cmd":"toast","msg":"(message)","heading":"(heading)","icon":"(icon)":"transition":"(transition)","duration":(duration)}

Example

toast HelloWorld! Welcome info plain
{"cmd":"toast","msg":"Hello World!","heading":"Welcome","icon":"info":"transition":"plain","duration":5}

Note

  1. In CLI mode, if message contains ‘space’, use "" to enclose the message string

  2. (icon): can be info, warning, error and success

  3. (transition): can be plain, fade and slide

  4. (duration): unit is ‘sec’, >= 1