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
<APPLET name="Bndh" archive="JmolApplet.jar" mayscript="true" codebase="/~jr/Jmol/"
align="right" height="656" hspace="15" vspace="3" code="JmolApplet" width="656">
<PARAM name="emulate" value="chime" />
<PARAM name="debugscript" value="true" />
<PARAM name="MessageCallBack" value="opener.JmolMessage" />
<PARAM name="PickCallBack" value="opener.JmolPick" />
</APPLET>
but opener.JmolMessage(this, 'test'); on the same page leads to the desired result
(e.g. type in and use Execute script command:
select not [fad];wireframe off;
the echo is shown via opener.JmolMessage)
Regards, Jan
>
> I can think of a handful of 'show...' commands built into the RasMol/Chime
> command language. I use most of them one way or another, but I don't like
> the way they work (my two cents, of course). they are not consistent, so
> I have to write a different method to handle output from each command.
> yuck.
>
> I heartily agree that making structure info available as properties is the
> way to go, with token suport for backwards compatibility. I, for one,
> would rewrite my own code to access the atom properties directly rather
> than use the script commands. but that's just me.
>
> the info-gathering commands from existing apps are:
>
> show info[rmation]
> + returns String with some basic info about the file.
> show pdbheader
> + returns String with the entire pdb file header.
> view show user
> + returns String with the current translate and rotate settings.
> view show
> + returns String with position of structure as:
> "view set Xrot Yrot Zrot zoom xtrans ytrans ztrans slab cenX cenY cenZ"
> show selected
> + in the display, applies a gold color to all selected atoms.
this is
set display selected
>
> show sequence
> + returns String with the primary sequence, in 3-letter residue code.
> show symmetry
> + returns String with details of crystal space group and unit cell.
>
>
I'm near to copy the RasMol online help about show but I'll mention only some which
are very usefull to me
show selected { group | chain |atom }
we've discussed allready
show phipsi
this, together with the RasMol -nodisplay option I used some times in batch PDB file
analysis
show RamPrint
this is better done in WebMol where the Ramachandran plot communicates with the
molecule disply
http://www.imb-jena.de/cgi-bin/webmol.pl?filename=1ndh
click on Rama and do residue picking on either windows
show rotation
show translation
show centre
show zoom
are nice status informations too.
(but show rotation after bond rotation does not remember the total history of all
rotations, but I don't want to suggest an alternative now)
>
> someone please correct me if I have missed any.
>
>
Done, Jan
--
Snail to:Jan Reichert, IMB, D-07708 Jena, POB 100813.
Voice:+49 3641 6562-05 (Fax:+49 3641 6562-10) :/i
mailto:[EMAIL PROTECTED]
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Jmol-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-users