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

**URL:** https://forum.highend3d.com/t/how-to-capture-alt-shift-ctrl-state-when-shelf-button-clicked/7551
**Category:** Maya
**Tags:** mel
**Created:** [December 6, 2000, 5:55pm UTC](https://forum.highend3d.com/t/how-to-capture-alt-shift-ctrl-state-when-shelf-button-clicked/7551 "2000-12-06T17:55:45Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![purp](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/p/f07891/32.png) [@purp](https://forum.highend3d.com/u/purp)
#### Post date: [December 6, 2000, 5:55pm UTC](https://forum.highend3d.com/t/how-to-capture-alt-shift-ctrl-state-when-shelf-button-clicked/7551/1 "2000-12-06T17:55:45Z")

</div>

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
