This project is read-only.



Causes a button to be clicked programmatically, without user intervention.


of_clickButton(Long button)
of_clickButton(String button)


Name Description
button The name or position of button to be clicked. The name of the button is the name the programmer gave when of_addItem was called or when of_setText was last called. The name is the text displayed for a toolbar when display text is enabled. The position of the button is the same as the value returned when of_addItem was called

Return Values

Returns a long indicating the result of the call, ALLOW (1) if the call succeeded or PREVENT (-1) if there was an error.


Use this method when you want to execute the script associated with a button without user intervention.

In order to use this method, the item must be enabled and visible. If it is not, an error message is displayed and PREVENT is returned.



See Also

Last edited Jun 27, 2016 at 1:01 PM by cjharris02892, version 1