Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple MessageBox Agent

Status
Not open for further replies.

nashman

Programmer
Dec 24, 2001
24
CA
Hi,

I am trying to create a simple MessageBox pop-up from an agent. I want the agent to check all incoming emails as they arrive and if the Subject field matches a condition, create the pop-up message box.

I am having a helluva time getting this to work with LotusScript.

I have the correct OnEvent selection but still, no message box. I know I must be missing something but can;t figure it out. Hopefully someone can help me out here.

Thanks for your help
 
Not going to work. You're scheduling an agent to run automatically. Therefor, it is going to run on the server, not on the client.
Therefor, you cannot make it pop up a messagebox - the server refuses to use the UI events in scheduled agents.
In order for something of this kind to work, it would have to run locally on the client, and there you have the same problem - you can configure your Notes client to run background agents , but they run in the background and cannot use UI elements to pop up stuff.

I'm sorry, but I don't think you can do this at all. You could, however, get them put into a special folder and removed from the Inbox. In R6, the folder will show that it has recieved new documents - which is similar in function.

But no popup.

Pascal.
 
Thanks for your reply Pascal...I was afraid that this was going to be the case. I have an Access module that I am using to do this and our IT dept was giving me grief. Looks like I will have to fight my case for Messenger service access.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top