|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Commands Reference > Messages > SendNotificationMessageToAllUsers |
available from build: 20080530 |
This command shows a popup window with a message of multiple line
call DBWShell("SendNotificationMessageToAllUsers from message Xsize Ysize delay [script1[script2[script3[script4]]]]"))
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:

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("SendNotificationMessageToAllUsers ""From Joe Designer"" ""This is a notification message\n2nd line of message\n3rd line of message\n4th line of message\n5th line of message"" 600 200 0 script1 script2 script3 script4")
End Sub