Hi Carsten,

The best way to share PyMOL content with novice users is via pre-defined
scenes stored in a session file.  Users can then simply open the session
file and use Page Down to iterate through the scenes.  Each scene can be
annotated with text, for example:

scene 001, store, The target structure (press the Page Down key).
...
scene 002, store, Surface of the binding site.
...
scene 003, store, Our lead compound ABC-12346.
...

NOTE: For multi-line annotations, you need to use the Python form of the
command:

cmd.scene("003","store","My first line of text\nMy second line of text")

Cheers,
Warren

--
DeLano Scientific LLC
Subscriber Support Services
mailto:[email protected]
 

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf 
> Of Schubert, Carsten [PRDUS]
> Sent: Friday, April 25, 2008 6:38 AM
> To: [email protected]
> Subject: [PyMOL] Embeding commands in PyMol session?
> 
> Hi,
> 
> is it possible to embed commands or scripts into a pymol 
> session? I am routinely creating PyMol sessions for users who 
> for the most part have no clue how to use PyMol. So I'd like 
> to include a dialog or message, which gets displayed after 
> the session has loaded and clues the user in how to start or 
> at least what he is looking at.
> 
> Cheers,
> 
>       Carsten
> 
> --------------------------------------------------------------
> -----------
> This SF.net email is sponsored by the 2008 JavaOne(SM) 
> Conference Don't miss this year's exciting event. There's 
> still time to save $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java
.sun.com/javaone
> _______________________________________________
> PyMOL-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pymol-users


Reply via email to