How to capture Alt/Shift/Ctrl State when Shelf button clicked?

The title fairly sums it up; I'm looking to have a shelf button behave differently when clicked or alt-clicked.
Heck, I'd settle for left-clicked or right-clicked, if that's do-able.

Any thoughts?

--j

--
Jim Meyer, Geek at Large
purp@wildbrain.com