Hi Boris, David Hall's suggestions are perfect.
Let me offer one more. If you can put up with programming a little Python, check out pymol/modules/pymol/menu.py and pymol/modules/pymol/preset.py. In menu.py you could add a "No W" menu option (or similar) to the A > Preset > Cheers, -- Jason On Tue, Oct 23, 2012 at 6:02 AM, Boris Kheyfets <kheyfbo...@gmail.com> wrote: > Hello PyMOL users, > > Menus > ===== > > Is there a way I can add custom menu in PyMOL? > > Ideally I'd like to be able to call both > > * pml scripts, as well as > * full python pymol scrpts > > Shortcuts > ========= > > Similarly -- is there a way I can bind exectution of given > > * pml script, or > * full python pymol script > > to a given key? > > The problem > =========== > > The basic problem > ----------------- > > The basic problem is to automate tasks one repeats frequenlty. For example I > had to type:: > > select notW, not (resn W) > hide all > show spheres, notW > > frequently. > > > The problem which leads to the need of menu > ------------------------------------------- > > So I make a pml or full-python pymol script and load it. > > But then I have to remember the name of the script. Which is terrible -- > because I have custom scripts in each and every program that I use. > > > The problem which leads to the need of custom shortcuts > ------------------------------------------------------- > > Having custom menu us great as a reminder of what scripts have You written. > But it's terrible to click through the menus. One is much better with > shorcuts (hotkeys). > > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) > Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users > Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net -- Jason Vertrees, PhD PyMOL Product Manager Schrödinger, Inc. (e) jason.vertr...@schrodinger.com (o) +1 (603) 374-7120 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net