Hello,In LotusScript, how can I pop up simple dialog box message on a specific person’s screen?
This is to put in a mail database to notify me when a mail has arrived.
Many thanks in advance.
Hello,In LotusScript, how can I pop up simple dialog box message on a specific person’s screen?
This is to put in a mail database to notify me when a mail has arrived.
Many thanks in advance.
Subject: You could user a server agent to send a broadcast message
You could use the SendConsoleCommand method in association with:
From Admin Help:
Syntax: Broadcast “message” [usernames or database]
Broadcast “(!) message” [usernames or database]
Description: Sends a message to specified users, users of the specified database or to all users of this server. Use this command to warn users when a server is brought down for maintenance. By default, the message you enter appears in the user’s status bar. To display the message in the middle of the user’s screen, precede the message with (!).
Examples:
Broadcast “Server ACME will be down in 10 minutes” – Sends a warning message about impending maintenance on server ACME to all users on this server.
Broadcast “(!) Server ACME will be down in 10 minutes” – Sends the same warning message as shown in the example above, but this message displays in the center of the user’s screen. Note that parentheses () are entered as part of the command string.
To broadcast a message from the Domino Administrator
You can send messages directly from the Server - Status tab in the IBM® Lotus® Domino™ Administrator.
From the Domino Administrator, click the Server - Status tab.
In the left pane, select “Server Users” to display the list of current users in the middle pane.
(Optional) In the middle pane, select the users to whom you want to send the message.
If necessary, click Tools to display the tool bar, and then click User - Broadcast Message.
Complete these fields, and then click Send:
Field
Action
Broadcast a message to
Choose one:
“Selected user” to send the message to the users you selected in the middle pane of the Server - Status tab.
“All connected users” to send the message to all users with active sessions on the Domino server.
“All users of a database” to send the message to all users of a particular database. Enter the directory string for the database in the field.
Broadcast this Message
Enter the text of the message you want to send.
Show as dialog box on users’ workstation
Click this check box to display the broadcast message in a dialog box on the users’ workstation.
Subject: How in LotusScript can I pop up simple dialog box message on a specific person’s screen?
I’m not sure I understand. You want only one specific user to receive an alert when a specific message is received in their inbox? Or YOU want to receive notification that they’ve received a certain message?
Either way, it’s going to require a change to the mail template, which is generally not recommended. You could have the specific user (if he has access) create a private agent in his mailfile that runs When New Mail Arrives that checks for your criteria and sends you a response if the new email matches.
Subject: RE: How in LotusScript can I pop up simple dialog box message on a specific person’s screen?
The free download accompanying this article shows a way to do something like this. Basically, you have to establish some LotusScript code that’ll stay in memory (because it’s in your welcome page, for instance) and have it use a NotesTimer to periodically check whether the event you wanted to be alerted to has occurred.