Hi All,
I’m trying to find a way to launch an action programmatically (ie with @Command) in background but so far I didn’t find anything on how to do this.
Here is the command I’m using right now:
@Command([RunAgent];“My Agent”)
Thanks in advance
Hi All,
I’m trying to find a way to launch an action programmatically (ie with @Command) in background but so far I didn’t find anything on how to do this.
Here is the command I’m using right now:
@Command([RunAgent];“My Agent”)
Thanks in advance
Subject: Launch agent in back ground via formula language
Hi Emmanuel,U can run the agent using any one of the following methods
Using Formula:
@Command([ToolsRunMacro]; “Ur agent”); OR
@Command([RunAgent];“Ur Agent”);
Using Lotus script:
Dim s As New NotesSession
Dim db As NotesDatabase
Dim agent As NotesAgent
Set db = s.CurrentDatabase
Set agent = db.GetAgent("Agent to be run LotusScript")
If agent.Run = 0 Then
Messagebox "Agent ran",, "Success"
Else
Messagebox "Agent did not run",, "Failure"
End If
Using Javascript:
Http:\servername\dbname.nsf\agentname?openagent
Subject: RE: Launch agent in back ground via formula language
Hi Anita,
First of all thank you for your quick answer.
I’m currently using this code (Formula language):
@Command([RunAgent];“Ur Agent”);
It works perfectly but it doesn’t run in the background (I can’t work while my agent is on)
Any idea on how to do that programmitically ?
Thanks all