Hi Gary -
In the session you want to record, before performing the actions or commands,
type:
```
log_open log.pml
```
You can also optionally provide the full path to the log file.
Then to replay the recorded instructinos in the new session (here assuming the
same working directory):
```
@log.pml
```
This is a great way to learn how to automate PyMOL with scripts based on
actions performed in the GUI. One caveat is that the various wizards that
involve picking atoms (measurement, mutagenesis, etc) generally don't work so
well. But normal GUI operations (changing view, representation, color, etc.)
get logged fine.
Hope that helps.
Cheers,
Jared
On April 14, 2018 at 9:30:20 AM, Gary Oberbrunner (ga...@darkstarsystems.com)
wrote:
Is there a way in pymol to record all the typed commands as well as the menu
actions (select, show, hide, etc.) so they can be replayed in a script?
--
Gary Oberbrunner -- CEO -- Dark Star Systems, Inc.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!
http://sdm.link/slashdot_______________________________________________
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
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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