Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






ToolsRunMacro @Command

Executes a specified agent.

Syntax

@Command( [ToolsRunMacro] ; agent )

Parameters

agent

Text. Optional. The name of the agent you want to run.

If you omit the agent name, Notes displays a list of Agents in the database, where the user can select which agent to run.

Usage

This command executes after all @functions. Use @Command([RunAgent]) to execute immediately. See the Order of evaluation for formula statements topic for more details.

When specifying a hidden agent, include the parentheses as shown below.

@Command([ToolsRunMacro];"(hiddenagentname)")

You can use this command in Web applications.

Language cross-reference

Run method of LotusScript NotesAgent class

run method of Java Agent class

See examples

Example: ToolsRunMacro
Related topics
RunAgent @Command
@Commands with ECL security
"Adding a friendly ad-hoc query tool to Domino applications" on the Lotus Developer Domain
@Commands




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009