I was trying to have a script that would do some action when the action button on the RCP was pressed. It doesn't seem that I'm able to get the state of the action button. I tried just doing println(getButton()), but nothing showed up.
Also noticed that by default the action button starts and stops logging. Is there anyway to have the button do some other function and not control logging?