Number of the action
The number of the action can be retrieved from any action-creating method, such as CreateJavaScriptAction.
See theĀ OnControlMouseDown property for examples.