[PyMOL] select/deselecting objects via script?

2009-04-22 Thread Jacob Corn
I'd like to write a jiffy that binds the up and down arrow keys to move up/down the list in the object/selection pane. I'd like (for example) pressing the down arrow to equate to clicking the currently active object (thus hiding its representation) and clicking the next object down (thus

Re: [PyMOL] select/deselecting objects via script?

2009-04-22 Thread Jacob Corn
OK, I'm feeling a little silly now... I found enable/disable (sorry for not rtfm'ing closely). But is there a way to get whether an object is currently dis/enabled? Jacob On Apr 22, 2009, at 9:04 AM, Jacob Corn wrote: I'd like to write a jiffy that binds the up and down arrow keys to

Re: [PyMOL] select/deselecting objects via script?

2009-04-22 Thread Warren DeLano
Sort of -- search for the object name in: print cmd.get_names(enabled_only=1) From: Jacob Corn [mailto:jec...@u.washington.edu] Sent: Wednesday, April 22, 2009 9:37 AM To: Jacob Corn Cc: pymol-users@lists.sourceforge.net