# What flag to use in shelfButton?

**URL:** https://forum.highend3d.com/t/what-flag-to-use-in-shelfbutton/6581
**Category:** Maya
**Tags:** mel
**Created:** [January 18, 2002, 9:59am UTC](https://forum.highend3d.com/t/what-flag-to-use-in-shelfbutton/6581 "2002-01-18T09:59:00Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![zmachine](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/z/a87d85/32.png) [@zmachine](https://forum.highend3d.com/u/zmachine)
#### Post date: [January 18, 2002, 9:59am UTC](https://forum.highend3d.com/t/what-flag-to-use-in-shelfbutton/6581/1 "2002-01-18T09:59:00Z")

</div>

What flag would need to be used in command "shelfButton" what the command was executed at pressing RightMouseButton (or Shift+LeftMouseButton)?

P.S.  
flags exemple

-c/command Command executed when the control (left mouse botton) is pressed.

-dcc/doubleClickCommand Command executed when the control is double clicked.

What flag to use for RMB or Shift+LMB or Ctrl+LMB or Alt+LMB?

Hrazdan3D

---

<div class="post-metadata">

### Author: ![zmachine](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/z/a87d85/32.png) [@zmachine](https://forum.highend3d.com/u/zmachine)
#### Post date: [January 21, 2002, 7:52am UTC](https://forum.highend3d.com/t/what-flag-to-use-in-shelfbutton/6581/2 "2002-01-21T07:52:18Z")

</div>

PLEASE HELP ME ![](http://208.179.92.68/forums/icons/frown.gif)

[image] [url=http://www3d.hotbox.ru/temp/shelfb1.gif][http://www3d.hotbox.ru/temp/shelfb1.gif[/url](http://www3d.hotbox.ru/temp/shelfb1.gif%5B/url)] [/image]

Or suggest alternate variant

Or suggest where will address to information about subject?

For Example

```
shelfButton
    -enableCommandRepeat 1
    -enable 1
    -width 34
    -height 34
    -manage 1
    -visible 1
    -label "CV Curve Tool" 
    -image1 "curveCV.xpm" 
    -style "iconOnly" 
    -command "curveCVToolScript 4" 
    -doubleClickCommand "curveCVToolScript 3" 
;
```

Hrazdan3D

---

<div class="post-metadata">

### Author: ![zmachine](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/z/a87d85/32.png) [@zmachine](https://forum.highend3d.com/u/zmachine)
#### Post date: [January 22, 2002, 10:18am UTC](https://forum.highend3d.com/t/what-flag-to-use-in-shelfbutton/6581/3 "2002-01-22T10:18:21Z")

</div>

There are here clever people, which can help to me?  
Or for me a problem unrecoverable?

What flag would need to be used in command "shelfButton" what the command was executed at pressing RightMouseButton (or Shift+LeftMouseButton)?

P.S.  
flags exemple

-c/command Command executed when the control (left mouse botton) is pressed.

-dcc/doubleClickCommand Command executed when the control is double clicked.

What flag to use for RMB or Shift+LMB or Ctrl+LMB or Alt+LMB?

Hrazdan3D

---

<div class="post-metadata">

### Author: ![zmachine](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/z/a87d85/32.png) [@zmachine](https://forum.highend3d.com/u/zmachine)
#### Post date: [January 22, 2002, 10:20am UTC](https://forum.highend3d.com/t/what-flag-to-use-in-shelfbutton/6581/4 "2002-01-22T10:20:17Z")

</div>

There are here clever people, which can help to me?  
Or for me a problem unrecoverable?

What flag would need to be used in command "shelfButton" what the command was executed at pressing RightMouseButton (or Shift+LeftMouseButton)?

P.S.  
flags exemple

-c/command Command executed when the control (left mouse botton) is pressed.

-dcc/doubleClickCommand Command executed when the control is double clicked.

What flag to use for RMB or Shift+LMB or Ctrl+LMB or Alt+LMB?  
Hrazdan3D

Hrazdan3D

---

<div class="post-metadata">

### Author: ![zmachine](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/z/a87d85/32.png) [@zmachine](https://forum.highend3d.com/u/zmachine)
#### Post date: [January 22, 2002, 10:23am UTC](https://forum.highend3d.com/t/what-flag-to-use-in-shelfbutton/6581/5 "2002-01-22T10:23:59Z")

</div>

There are here clever people, which can help to me?  
Or for me a problem unrecoverable?

What flag would need to be used in command "shelfButton" what the command was executed at pressing RightMouseButton (or Shift+LeftMouseButton)?

P.S.  
flags exemple

-c/command Command executed when the control (left mouse botton) is pressed.

-dcc/doubleClickCommand Command executed when the control is double clicked.

What flag to use for RMB or Shift+LMB or Ctrl+LMB or Alt+LMB?

Hrazdan3D
