Dear All,

I want to look at my structure in PyMOL and, having centered on something
defined by my selection script, pick atoms nearby and see what residues they
belong to. That is, I want to pick select an atom with the mouse and have its
name, residue name and residue number appear on screen, like it does in O.

I figured out that [Ctrl] + Left-Mouse-Button selects the atom as "lb", and that
the command 'label (lb),"%s %s %s" % (name,resn,resi)' gives me the label I
want. Now how could I get something like that to appear as a menu function in
the GUI so I don't have type it in all the time? Can it be a command executed as
part of my startup script?

Maybe some function like this already exists, otherwise I think it is a very
useful thing.

regards,

Richard Baxter

Reply via email to