http://pymolwiki.org/index.php/Set_Key 

http://pymolwiki.org/index.php/Extend is also useful. 

-David


On Tuesday, October 23, 2012 at 6:02 AM, Boris Kheyfets 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 
> (mailto: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
> 
> 


------------------------------------------------------------------------------
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

Reply via email to