[PyMOL] any hotkey?

2015-09-03 Thread Albert
Hello:

I am just wondering is there any hotkey in Pymol so that we can center 
in the Ligand automatically? For instance:

If I press keyboard "L", Pymol zoom to ligand binding pocket 
automatically

Thanks a lot

Albert

--
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991=/4140
___
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


Re: [PyMOL] any hotkey?

2015-09-03 Thread Osvaldo Martin
Hi Albert,

You can use Set_Key , to bind
any function (predefined or defined by you) to any “hotkey/shorcut”

Cheers,
Osvaldo.

On Thu, Sep 3, 2015 at 5:57 AM, Albert  wrote:

Hello:
>
> I am just wondering is there any hotkey in Pymol so that we can center
> in the Ligand automatically? For instance:
>
> If I press keyboard "L", Pymol zoom to ligand binding pocket
> automatically
>
> Thanks a lot
>
> Albert
>
>
> --
> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
> Get real-time metrics from all of your servers, apps and tools
> in one place.
> SourceForge users - Click here to start your Free Trial of Datadog now!
> http://pubads.g.doubleclick.net/gampad/clk?id=241902991=/4140
> ___
> 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
>
​
--
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991=/4140___
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

Re: [PyMOL] any hotkey?

2015-09-03 Thread Thomas Holder
Hi Albert & Osvaldo,

This should work in PyMOL 1.7+ to bind the F1 key to zoom on the first 
"organic" residue:

set_key F1, zoom byres first organic, animate=1

Cheers,
  Thomas

On 03 Sep 2015, at 06:48, Osvaldo Martin  wrote:

> Hi Albert,
> 
> You can use Set_Key, to bind any function (predefined or defined by you) to 
> any “hotkey/shorcut”
> 
> Cheers,
> Osvaldo.
> 
> On Thu, Sep 3, 2015 at 5:57 AM, Albert  wrote:
> 
> Hello:
> 
> I am just wondering is there any hotkey in Pymol so that we can center
> in the Ligand automatically? For instance:
> 
> If I press keyboard "L", Pymol zoom to ligand binding pocket
> automatically
> 
> Thanks a lot
> 
> Albert

-- 
Thomas Holder
PyMOL Principal Developer
Schrödinger, Inc.
--
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991=/4140
___
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