Re: [PyMOL] Tab completion using object names, not filesystem files?

2012-10-17 Thread Thomas Holder
Hi Ron, tab completion is controlled by the cmd.auto_arg variable, which is a list of dictionaries. http://pymolwiki.org/index.php/auto_arg For all arguments which do not have an entry in auto_arg, the default is to auto-complete file names. For your purpose you need to define something like

Re: [PyMOL] Tab completion using object names, not filesystem files?

2012-10-17 Thread Ron Jacak
Hi Thomas, Thanks for the quick reply. That worked exactly the way I wanted! I had read the auto_arg Wiki page, but it didn't click that I had to define a new list specifically for the command I wanted the tab completion to work for (i.e. select). I thought it applied to all commands. So, for