CallScripter 4.5.53 for Interactive Intelligence

Please email training@callscripter.com for omissions or errors.
×
Menu

toast

 

Notification Toasts

Allows a toast to be presented on screen with customised header and body information.
 
cmd
"toast"
Argument 1
heading
Argument 2
toast body text
Argument 3
type (error, debug, loading, warning, success, information)
Argument 4
Duration in milliseconds: 5000 is 5 seconds, 0 is indefinite
 
Example:
csCommand('Toast','This is the heading','This is the message','Information',5000)
 
 
csCommand Toasts allows csCommands to be triggered without a script being present.  These should contain the following:
 
ObjectID
The CIC username used to connect via the toolbar
EventID
CallScripter will only recognise notifications with an eventID of "CallScripterNotification".  Anything else will be ignored.
Request
The list of csCommands to be fired.  The code should be in the following format:
 
[
["csCommand","hangup"],
["csCommand","setoutcome","Success"],
["csCommand","closescript"],
["csCommand","setuserstatus","Available"]
]
 
 
Example:
Object ID: AUser
EventID: CallScripterNotification
Request: [["csCommand", "Toast", "Call Waiting", "A call has been transferred to you. Please close down the current script and call to receive this interaction", "0"]]
 
 
 
See the Custom Notifications section for more information about using csCommands in Notification Toasts.