View Single Post
Old 2nd February 2007, 08:40 AM   #3
bdb
Junior Member
Junior member
 
Join Date: Jan 2007
Posts: 2
Default Re: Script for right-click menu

Thanks for the tip!

Regards,
Bart
Quote:
Originally Posted by Andy View Post
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}
bdb is offline   Reply With Quote