Dirk Walter wrote: > Hello, > > I am using Jmol as as a library in my application, and it echos every > command I send to it to stdout, which is unfortunate since I am using > the data command to load models, and many of the model files are large. > Is there a way to prevent JMol from echoing everything to stdout? > > The following is more or less what I send to JmolViewer.evalScript(); > > "DATA \"model verylonguniquekey987654321\"\n" + molFile + > "\nEND \"model verylonguniquekey987654321\"; show data\n" + > script; > > Where molFile is a mol or PDB or whatever format file, read in as a > String, and script is a Jmol script containing display settings for that > particular file. > I havn't tried the following commands in this context but I would expect that at least the first one should help:
set scriptReportingLevel -1; set logLevel 3; For details on the commands please look at the Jmol interactive scripting documentation: http://www.stolaf.edu/academics/chemapps/jmol/docs/#setdebugging Regards, Rolf ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users