Next Topic

Previous Topic

Book Contents

sendMessage()

Sends the entered message to a managed machine. An additional checkbox, if checked, sends the message immediately. If unchecked, sends the message after the user clicks the flashing agent system tray icon.

Example - Sample Procedures.Managed Services.Workstation Management.Send Message if Logged On

If isUserLoggedIn(" ")
	getVariable("Prompt When Procedure is Scheduled", "Please enter a message to send", "promptMsg", "All Operating Systems", "Halt on Fail")
	sendMessage("#promptMsg#", "Display now", "All Operating Systems", "Halt on Fail")