2nd February 2007, 08:40 AM
|
#3
|
Junior Member
Junior member
Join Date: Jan 2007
Posts: 2
|
Re: Script for right-click menu
Thanks for the tip!
Regards,
Bart
Quote:
Originally Posted by Andy
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}
|
|
|
|