[PyMOL] Embeding commands in PyMol session?

2008-04-25 Thread Schubert, Carsten [PRDUS]
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

Re: [PyMOL] Embeding commands in PyMol session?

2008-04-25 Thread DeLano Scientific
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 str

Re: [PyMOL] Embeding commands in PyMol session?

2008-04-25 Thread Schubert, Carsten [PRDUS]
Hi Warren, I got all that covered already. I think I have a way of doing what I want. I just define the help on the first scene and predisplay it upon loading. That should do the trick. Cheers, Carsten > -Original Message- > From: DeLano Scientific [mailto:del...@delsci.info

[PyMOL] access to tkinter root for new Toplevel?

2008-04-25 Thread Matthew O'Meara
Hi All, I would like to write a Wizard that spawns a separate window. Right now I'm just calling Tkinter.Toplevel() with no arguments but it dies with non-deterministic tkinter errors. I think the issue is I need to pass the Tkinter.Tk() instance into the Toplevel command. 1) Is there a way I c

Re: [PyMOL] access to tkinter root for new Toplevel?

2008-04-25 Thread DeLano Scientific
Matt, A key PyMOL concept for Tkinter developer to grasp is that Tkinter runs in a separate thread from PyMOL. Thus, direct calls to Tkinter from a PyMOL thread will fail erratically, as observed below. Fortunately, PyMOL is built so that it can receive API calls asychronously from any thread

[PyMOL] Head Tracking: ImmerseViz

2008-04-25 Thread Jason Vertrees
PyMOLers, Just wanted to let you know that the source code for the ImmerseViz extension has been released. Check out the ImmerseViz PyMOLWiki page http://www.pymolwiki.org/index.php/ImmersiveViz as it points to all the necessary places (code/developers/information). This is a really