FoneMonkey Command Reference

For an overview of command syntax and execution, see Understanding FoneMonkey Commands.

This reference organizes commands by component class. FoneMonkey commands are implemented by various class extensions and those implementations are inherited by subclasses. If a particular component type is not listed here, it is because it inherits its recording and playback behavior from one or more of its superclasses.

A command can specify either the class that should receive the command or any if its superclasses. For example, to push a UIButton subclass called CustomButton you could specify:

Touch CustomButton

or

Touch UIButton

The specified class is used by FoneMonkey at runtime in conjunction with an optional monkeyID to identify a component to receive a command. The command will be executed the same way by the receiving component regardless of what class name was actually specified on the command itself.

See this discussion of Identifying Components in Commands.

A few commands, such as Shake are global commands. These are executed directly by FoneMonkey rather than a UI component.