MSM-Workstation
Macros

Go back to the alphabetic list of macros
Go back to the first page of this tutorial

%%Perform ( [ Object . ] Action [ , Parameters ])

Perform an action associated with an object.

Object The window or control associated with the action to be performed.

Action The name of an action associated with the control or window.

Parameters If the action takes parameters, these may be passed in this position. See the high level event MoveTo for an example of parameters being used.

The macro %%Perform causes execution of a DO of the action associated with the given object.

Note that %%Perform causes immediate execution of the indicated action. This is different from placing an event on a queue, which may be done using the macro %%Trigger.

Window actions, and control actions in other windows are not yet supported.

Example

%%Perform(DataMain.MoveNext)
Perform the action called "MoveNext" on the control named "DataMain" to move the data pointer to the next record.

See also

%%Trigger.