On 2 Nov 2009 at 18:46, Matt Kubasik wrote:

> Yes, I tried this ( Jmol -ionxs myscript.spt molecule.pdb), and I receive
> the following list of errors:

I did my testing with 11.8.7 under Windows. Maybe it's the precise script that 
makes the 
difference.


> This script works when I invoke it from an open Jmol application and a
> molecule is loaded.  It is suggsted on the Jmol Interactive Script
> Documentation Page, http://chemapps.stolaf.edu/jmol/docs/?ver=11.8#functions
> (See x= script("..."))

Oh, great. There's always much to discover in Jmol.


> I was surprised to find that while
> 
> z =script("show measurements")
> 
> puts a nice string of measurements into z,
> 
> z = script("measure (atomno=10) (atomno=15)")
> 
> puts nothing into z.
> 
> Perhaps it is a mismatch of data types?

Perhaps it is that the second is meant to act on the model, while the first is 
meant to give 
some output (normally to the console, here to the variable).


> Perhaps the errors the Mac offers (above) will provide a hint.  

I'm convinced that it cannot be an OS issue. Either your file or your script is 
unearthing 
some problem.


>Thank you
> for your ideas and suggestions.

My pleasure.
I'm sure that Bob will come to your rescue.



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to