@Command (Formula Language)

Executes a Notes/Domino command. Most of the standard menu commands can be executed using @Command. In addition, a number of specialized commands are available. In a formula, any command invoked using @Command runs in the order you specify in the formula. This means that any changes made by the command, such as inserting text into a field, affect the rest of the formula (see exceptions).

Syntax

@Command( [ command ] ; parameters )

Usage

This function does not work in column, selection, hide-when, section editor, window title, field or form formulas, scheduled, new and modified and mail processing agents that run on a server or agents that run on all documents or selected documents. It's intended for use in toolbar button, hotspot, and action formulas.

Exceptions

The commands listed in the Evaluated after all @functions column in the table (as follows)always execute after all the functions present in a formula are executed, which means that the action performed by a command cannot be used by a function that follows it in a formula. The commands listed in the Evaluated immediately column have the equivalent functionality to the corresponding Evaluated after all @functions commands, except they execute as soon as they are encountered in the formula.

Note: The Evaluated as encountered commands are new with Release 6.

Evaluated after all @functions

Evaluated immediately

EditClear

Clear

EditProfile

EditProfileDocument

FileCloseWindow

CloseWindow

FileDatabaseDelete

DatabaseDelete

FileExit

ExitNotes

Folder

FolderDocuments

NavigateNext

NavNext

NavigateNextMain

NavNextMain

NavigateNextSelected

NavNextSelected

NavigateNextUnread

NavNextUnread

NavigatePrev

NavPrev

NavigatePrevMain

NavPrevMain

NavigatePrevSelected

NavPrevSelected

NavigatePrevUnread

NavPrevUnread

ReloadWindow

RefreshWindow

ToolsRunBackgroundMacros

RunScheduledAgents

ToolsRunMacro

RunAgent

ViewChange

SwitchView

ViewSwitchForm

SwitchForm