--- On Sat, 2/6/10, Robert Hanson <[email protected]> wrote: > I just got tired of typing "script " all the > time.
ME TOO! The user-configurable command alias feature was one of my favorite features in Protein Explorer. It was a huge time and finger saver. Not only saving typing, but saving you from typos like "seelct protien". I'd like to re-raise the idea of having such a feature in Jmol. In Protein Explorer, you can type shortened versions of commands such as: s p # select protein r n w # restrict not water sf # spacefill sff # spacefill false bs # "ball and stick" e.g. wireframe 0.14;spacefill 0.45 bsf # "ball and stick false" e.g. wireframe false; spacefill false; s an 4403 # select atomno=4403 coh 223344 # "color hex": color [x223344] coe # "color by element": color cpk cot # color temperature ss # ssbonds 0.3;color ssbonds [xFFC832];set ssbonds sidechain; ssf # ssbonds false s m # "select metal": select (cadmium,calcium,copper,iron, magnesium,manganese,zinc) and yes, Bob, sc 1 # script 1.spt The complete list, and some details about use, are at http://tinyurl/pe-aliases In Protein Explorer, there is a file alias.js -- you simply edit it with a text editor to remove, add, or change aliases. The code is relatively simple, basically a simple expansion filter between command entry and command execution. -Eric ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

