Hi Martin,

how about:

set_key F1, run script.py; function_from_script()

Reduces step 3) and 4) to hitting "F1" on the keyboard.

Cheers,
  Thomas

On 24 Apr 2016, at 06:36, Martin Hediger <ma....@bluewin.ch> wrote:

> Hi all
> 
> When working on a PyMOL extension script, my workflow is currently something 
> like this:
> 
> 1) Start PyMOL
> 2) Work on script
> 3) PyMOL> run script.py
> 4) PyMOL> function_from_script()
> 5) See if function works, go back to 2)
> 
> Is it possible to have PyMOL automatically re-run the script everytime i save 
> it?
> 
> Thanks and best regards
> Martin
>  
> -- 
> Martin R. Hediger, PhD
> Mittlere Strasse 65
> 4056 Basel

-- 
Thomas Holder
PyMOL Principal Developer
Schrödinger, Inc.


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
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