Eric Martz wrote: >I am beginning to try to use messageCallback for FirstGlance in Jmol. It appears to me that Jmol 10.2.00 does not message comments, even with set >debugscript on. > that is correct.
>In the past (Protein Explorer) I have extensively used comments messaged by >Chime to detect where Chime is in executing a command script. >Can someone tell me how I can message an arbitrary signal string in Jmol? If not, I would like to request a new command "message" that would simply >message whatever follows after the word message, e.g. >message this arbitrary signal text > Eric, the command is "echo". Just make sure you have "set echo off" so that the user does not get the message as well. This works both at http://www.stolaf.edu/people/hansonr/jmol/test/10.2/new.htm and at http://www.stolaf.edu/people/hansonr/jmol/test/proto/new.htm, so it should be useable for either version 10.2 or upcoming 11.0. Note that 10.2 has errors in how it depicts RasMol structures for some muliple-chain systems. These are corrected in the prototype, which is soon to be 11.0. messages is a possible idea as well if you really think echo won't do the job for you. >Alternatively, comments could be messaged with set debugscript on. However, >this seems less desirable since one then needs three commands to insert a >marker string into the message stream: >set debugscript on ># arbitrary signal string >set debugscript off >(but in Jmol 10.2.00, "# arbitrary signal string" is not messaged.) > right, comments are never processed. >As a temporary workaround for messaging an arbitrary string, I am using this scheme: >set debugscript on >define arbitrary_signal_1 none >set debugscript off >Thanks, -Eric >/* - - - - - - - - - - - - - - - - - - - - - - - - - - - >Eric Martz, Professor Emeritus, Dept Microbiology >U Mass, Amherst -- http://www.umass.edu/molvis/martz >Biochem 3D Education Resources http://MolviZ.org >See 3D Molecules, Install Nothing! - http://firstglance.jmol.org >Protein Explorer - 3D Visualization: http://proteinexplorer.org >Workshops: http://workshops.proteinexplorer.org >World Index of Molecular Visualization Resources: http://molvisindex.org ConSurf - Find Conserved Patches in Proteins: http://consurf.tau.ac.il Atlas of Macromolecules: http://atlas.proteinexplorer.org >PDB Lite Macromolecule Finder: http://pdblite.org >Molecular Visualization EMail List (molvis-list): > http://bioinformatics.org/mailman/listinfo/molvis-list >- - - - - - - - - - - - - - - - - - - - - - - - - - - */ >------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ >Jmol-users mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/jmol-users > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

