Difference between revisions of "Shell Commands/SendBeacon"
From MorphOS Library
(Created page with "'''SendBeacon''' - Creates MagicBeacon notifications MESSAGE=CMD/A, FROM=NAME/K, NORESULT=QUICK/S, UTF8/S <nowiki> MESSAGE - Message or command to be sent to MagicBeacon FR...") |
(No difference)
|
Latest revision as of 12:17, 10 March 2022
SendBeacon - Creates MagicBeacon notifications
MESSAGE=CMD/A, FROM=NAME/K, NORESULT=QUICK/S, UTF8/S
MESSAGE - Message or command to be sent to MagicBeacon FROM - Notification type with or without the sending application in the applicationname.notificationname format NORESULT - The command returns immediately and doesn't wait for user interaction UTF8 - MESSAGE will be treated as a UTF-8 string
More detailed documentation can be found in the SYS:MorphOS/Locale/Help/english/MagicBeacon.guide file.
Examples:
Ram Disk:> SendBeacon "test notification" NORESULT Ram Disk:> SendBeacon "test error" FROM="Error" NORESULT Ram Disk:> SendBeacon "test error" FROM="MyScript.Error" NORESULT
Return codes from the command:
0 - Command exited normally 5 - User confirmed the notification 6 - User cancelled the notification (by a bubble button) 7 - Notification wasn't shown (settings won't allow unknown notifications)