|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Commands Reference > Messages > SendNotificationMessageToUser |
This command shows a popup window to a specific user with a message of multiple line
call DBWShell("SendNotificationMessageToUser UserID from message Xsize Ysize delay [script1[script2[script3[script4]]]]"))
userID |
the user receiver of the message |
|---|---|
from |
the user sender of the message |
message |
the message to be displayed in the window. It's possible to insert the new line command throught the "\n" keyword. |
Xsize |
the width size of the popup message |
Ysize |
the height size of the popup message |
delay |
the number of seconds after which the dialog disappears. if "0" it won't disappear |
script1...script4 |
Optional. Shows a button for each script (up to 4 buttons) in the lower side of the message. |
This is an example of the dialog shown on the receiver monitor:

If you click the HelloWorld button, the script LST\PopUpScripts\HelloWorld.vbs is fired
If you click the Script2 button, the script LST\PopUpScripts\Script2.vbs is fired
If you click the Script3 button, the script LST\PopUpScripts\Script3.vbs is fired
Sub main()
DBWInit(TRUE)
DBWShell("SendNotificationMessageToUser ""luca-adm"" ""JoeDesigner"" ""This is a notification message"" 600 200 0 HelloWorld script2 script3")
End Sub