Ok. I'm kinda confused now. I started this when I saw the following.
On May 14, 2007, at May 14, 5:52 PM, Bob Hanson wrote:
Ah, Frieda, you MUST use file.model notation with multiple files
anywhere you would like to say "model n". Especially with PDB files,
"set backgroundModel 1" would be too ambiguous.
For example:
load files "=1crn.pdb" "=1blu.pdb" "=1hje.pdb"
animation mode palindrome
animation fps 1
set backgroundmodel 1.1
frame range 1.1 3.1
frame play
So I think it's just that one command.
This works perfectly when I do not have my state script between the
load and the animation commands. But I have a state script to load
and
set up all the file display options, then the anim is triggered
with a button. Any idea where to start looking for the problem?
what's the problem, again?
BTW, what's with the "=" before the file names? Just curious.
that was SUPPOSED to read:
load files "=1crn" "=1blu" "=1hje"
It means "Go get these files from RCSB directly; I don't have them
on my
computer"
I'm starting to use this so that anyone can run the script and it
should
work for them same as for me. No files required!
So were those commands issued from the console? Is it not possible
to include them in a button? Incidentally, I'm using the signed
applet and Jmol 11.1.39. And it works fine from the console, just
not from a button. Trying Bob's page at
http://www.stolaf.edu/academics/chemapps/jmol/temp/signed/test.htm
I can of course load file using the load a PDB file link although
technically that doesn't load a file it rewrites the page and loads
the file. However, typing load "=1crn" into the text box and
clicking execute gives the java security error.
If it isn't possible that is fine. Just seemed like it would be nice
to do it this way so I thought I would give it a try. I guess it
won't work.
*****************************
Jeff Hansen
Department of Chemistry
DePauw University
Greencastle, IN 46135
[EMAIL PROTECTED]
*****************************
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users