Re: [Jmol-users] JMol applet from javascript - MessageCallback

2003-11-19 Thread Miguel
> at the moment the JmolApplet isn't of much use for my tests, because I'm > demendent on cartoon which halts graphic rendering, Jan, Remind me in what way cartoon is failing for you. It should be working in the current Jmol-HEAD ... Miguel -

Re: [Jmol-users] JMol applet from javascript - MessageCallback

2003-11-19 Thread jr
at the moment the JmolApplet isn't of much use for my tests, because I'm demendent on cartoon which halts graphic rendering, but using the MessageCallBack or PickCallBack parameters failed, too, e.g. on: http://www.imb-jena.de/cgi-bin/SCOPlnk3.pl?ASK=1ndh but opener.JmolMessage(this, 'test'

Re: [Jmol-users] JMol applet from javascript - MessageCallback

2003-11-18 Thread timothy driscoll
at 1:55 pm EDT on (Tuesday) 18 November 2003 Miguel said: > >>> one can write a javascript method for finding most of this, using > >>> 'show pdbheader' in Chime, but what a pain. maybe JMol can have a > >>> suite of 'show info' commands to access structure data like this? > > >> Writing code to

Re: [Jmol-users] JMol applet from javascript - MessageCallback

2003-11-18 Thread Miguel
>>> one can write a javascript method for finding most of this, using >>> 'show pdbheader' in Chime, but what a pain. maybe JMol can have a >>> suite of 'show info' commands to access structure data like this? >> Writing code to parse the text output would be a disaster. >> > not sure I follow; c

Re: [Jmol-users] JMol applet from javascript - MessageCallback

2003-11-18 Thread timothy driscoll
at 2:32 pm EDT on (Saturday) 15 November 2003 Miguel said: > > so if I select Glu134:B, > > for example, I would get an array with: > > > > number of atoms selected > > id of group selected > > number of selected group > > chain of selected group > > > > what other info is accessible? > Lots of th

Re: [Jmol-users] JMol applet from javascript - MessageCallback

2003-11-15 Thread Miguel
> If I type "show selected", in RasMol (v2.7.1), the list of the selected > atoms with their respective chains and residues is displayed. > In Chime, the same command only hilights the selected residue in orange > in the visualisation frame. I don't really understand this ... I will try it later >

Re: [Jmol-users] JMol applet from javascript - MessageCallback

2003-11-15 Thread Miguel
> it always contains "atoms selected!" in JMol, maybe a select command > could return an array instead of a string? Rather than 'instead', perhaps we should add an additional parameter. That way we will maintain compatibility with existing web applications. > so if I select Glu134:B, > for exampl

Re: [Jmol-users] JMol applet from javascript - MessageCallback

2003-11-15 Thread Paul Pillot
> > RasMol commands return useful information e.g. > > select HIS > > returns something like 8 residues selected, > > So, this information is displayed for the user to read, but the results > are never actually interpreted by any tools or external program ... > correct? > I tried with RasMol the

Re: [Jmol-users] JMol applet from javascript - MessageCallback

2003-11-15 Thread Miguel
>> (even if I don't understand what IIRC means...) I don't know what it means either :-) >> To solve it, Chime developpers add a third argument to the >> messagecallback method, wich is the number of the message. >> That is to >> say, with Chime, the function called by messagecallback gets these >

[Jmol-users] JMol applet from javascript - MessageCallback

2003-11-15 Thread Paul Pillot
> > > > In the following page by Eric Martz, you can see how this works in > > > > Chime. > > > > > > > http://www.umass.edu/microbio/chime/chimehow/fs_cmdln.htm > > > > > IIRC, if you send a long script to Chime, the messages returning are > scrambled > > (IOW, not in the same order as they went

Re: [Jmol-users] JMol applet from javascript - MessageCallback

2003-11-15 Thread timothy driscoll
at 9:37 am EDT on (Saturday) 15 November 2003 Miguel said: > Paul, > > Thanks very much for doing this investigation. > > > > > For more information on how the MessageCallback method works in Chime > > and why it can be usefull : > > - every command sent to chime is displayed by this function

Re: [Jmol-users] JMol applet from javascript - MessageCallback

2003-11-15 Thread Miguel
> RasMol commands return useful information e.g. > select HIS > returns something like 8 residues selected, So, this information is displayed for the user to read, but the results are never actually interpreted by any tools or external program ... correct? So the actual format of the output does

Re: [Jmol-users] JMol applet from javascript - MessageCallback

2003-11-15 Thread Jan Reichert
For more information on how the MessageCallback method works in Chime and why it can be usefull : - every command sent to chime is displayed by this function (when you set debug=true in the plugin parameters) It is not clear to me exactly what you mean by 'command' in this context. Do you mea

Re: [Jmol-users] JMol applet from javascript - MessageCallback

2003-11-15 Thread Miguel
Paul, Thanks very much for doing this investigation. > yes > And I created a javascript function to handle the messages : > function echoMessage() > { > txt = ""; > for (i=0; i { > txt += i + " : " + arguments[i] + "\n"; > } > alert(txt); > } very good > So, t

Re: [Jmol-users] JMol applet from javascript - MessageCallback

2003-11-15 Thread Paul Pillot
Tim and Miguel wrote : > > Chime provides access to the message stream that passes between browser > > and plugin (MessageCallBack and PickCallBack). developers can use this > > access to respond to a user's interaction with the structure - for > > example, find out what atom was picked, what com