Re: [PyMOL] commands history

2013-11-10 Thread Justin Lecher
On 11/11/13 08:43, Folmer Fredslund wrote:
> Dear Chandan,
> 
> The command "log_open" will start writing a log file of events happening.
> 
> If you want a specific name for the logfile you write "log_open myfile.pml"
> 
> In that file the commands you type will be saved, as well as actions
> from menus (not sure how many, but I think most of them).
> 

Hi,

I have this as the first lines in my ~/.pymolrc

import datetime
_logdate = datetime.datetime.strftime(datetime.datetime.now(),
"%y%m%d%H%M%S")
cmd.log_open(filename="pymol-%s.pml"%_logdate)


Justin

-- 
Justin Lecher
Institute of Complex Systems
ICS-6 Structural Biochemistry
Research Centre Juelich
52425 Juelich, Germany
phone: +49 2461 61 2117




smime.p7s
Description: S/MIME Cryptographic Signature
--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk___
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] commands history

2013-11-10 Thread Folmer Fredslund
Dear Chandan,

The command "log_open" will start writing a log file of events happening.

If you want a specific name for the logfile you write "log_open myfile.pml"

In that file the commands you type will be saved, as well as actions from
menus (not sure how many, but I think most of them).

Hope this helps.
Best regards,
Folmer


2013/11/11 Chandan Choudhury 

>
> Dear PyMOL users,
>
> I was just wandering to know that does PyMOL saves the history of the
> commands typed?
>
> If so, please let me know how can it be done.
>
> Chandan
>
>
> --
> Chandan kumar Choudhury
> NCL, Pune
> INDIA
>
>
> --
> November Webinars for C, C++, Fortran Developers
> Accelerate application performance with scalable programming models.
> Explore
> techniques for threading, error checking, porting, and tuning. Get the most
> from the latest Intel processors and coprocessors. See abstracts and
> register
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> ___
> 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
>



-- 
Folmer Fredslund
--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk___
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

[PyMOL] commands history

2013-11-10 Thread Chandan Choudhury
Dear PyMOL users,

I was just wandering to know that does PyMOL saves the history of the
commands typed?

If so, please let me know how can it be done.

Chandan


--
Chandan kumar Choudhury
NCL, Pune
INDIA
--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk___
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