29th January 2007, 07:00 PM | #2 |
Administrator
Professional user
Join Date: Jun 2003
Posts: 4,565
|
Re: Script for right-click menu
Try this:
Code:
#make a popup menu menu .rightmenu -tearoff false .rightmenu add command -label "Select All" -command "ac3d select_all" # bind a right click (button 3) to view 0 (top left view window) bind $ToglWinName(0) <3> { tk_popup .rightmenu %X %Y} |
|
|