MACRO click

Simulate a mouse click on a frame of type Button. /click options ButtonObj MouseButton Down

Aliases

 * none

Arguments

 * options
 * See Making a macro for instructions on how to properly use options.


 * ButtonObj
 * The button to click. If the frame's type is not Button, this will silently fail.


 * MouseButton
 * The button you wish to simulate the click with. Accepts any value (LeftButton is the default). GetMouseButtonClicked will return this value.


 * Down
 * Simulates a down-click. A value of "true" or "1" will cause a down-click. Any other value will not.