[Jmol-users] message command

2007-01-08 Thread rspinney


I have several anaimations where I would like to print comments to a
textarea controlled by the animation sequence. I have experimented with the
SetCallback(meassageCallback, javascript_function) which works well,
except that I get messages from everything (status, error, echos etc). Is
there a way to limit this to just the message commmands? (set loglevel does
not have the desired effect.)

Thanks, Rick Spinney


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] message command

2007-01-08 Thread Angel Herraez
Hi Rick

I have no experience with callbacks, but your problem seems exactly 
what a recent function in Jmol.js does. I just added three days ago 
the documentation for it, following Bob's explanation, into Jmol.js 
doc webpage:

http://jmol.sourceforge.net/jslibrary/#jmolSetCallback

look for statusForm, statusText, statusTextarea


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] message command

2007-01-08 Thread Eric Martz
Dear Rick,

In FirstGlance in Jmol, I use the message command and 
messageCallback(). (I do not use jmol.js.) I use message to mark 
the beginning and end of blocks in the message stream. Then I use 
those marks to parse out what I need.

You could do the same, something like this:

message begin comment
message Here is a two-line comment
message that I would like to display in a textarea.
message end comment

Then you need to write javascript to watch each line coming through 
messageCallback(), and trap lines following begin comment, then 
display in the textarea what was trapped when end comment comes along.

Perhaps someone else knows a simpler way?

-Eric

At 1/8/07, you wrote:


I have several anaimations where I would like to print comments to a
textarea controlled by the animation sequence. I have experimented with the
SetCallback(meassageCallback, javascript_function) which works well,
except that I get messages from everything (status, error, echos etc). Is
there a way to limit this to just the message commmands? (set loglevel does
not have the desired effect.)

Thanks, Rick Spinney


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

/* - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
- - - - - - - - - - - - - - - - - - - - - - - - - - - */


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


[Jmol-users] jmol-11.0.RC4

2007-01-08 Thread rspinney

I have also released 11.0.RC4 which contains a few bug fixes.
If no problems are reported for this version, it will become Jmol 11.0.
Please, check that every bugs you may have seen in previous versions are 
fixed.

Nico

I am not sure if it is a bug or not, but the dots command does not produce
the same size sphere of dots around an atom as previous versions.

A bug with the set picking / measure command works properly again.

Rick Spinney 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users