[email protected]([ToolsRunMacro]; "name")
如果用lotusscript的话怎么写呢?
------解决方案--------------------
代码样例如下,供参考:
Sub Click(Source As Button)
Dim sess As New NotesSession
Dim ag As NotesAgent
Dim db As NotesDatabase
Set db=sess.CurrentDatabase
Set ag=db.GetAgent("代理名称")
'如果在本地运行用ag.Run
'Call ag.Run
'如果在服务器运行,用 ag.RunOnServer
Call ag.RunOnServer
Exit Sub
End Sub
------解决方案--------------------
试了把在服务器RunOnServer可以