There's just something simple you are missing. Could be a Mac issue with
line endings. You might try to replace all \r characters with \n characters.


All my tests with similar state scripts work just fine.

On Fri, Dec 18, 2009 at 12:50 PM, Jonathan Gutow <[email protected]> wrote:

> Sorry I mistyped that the actual text from the returned state is
>
> data "model inline"
> 10
> empty
> Xx -6.0 -7.0 -3.0
> Xx 0.0 -7.0 -3.0
> Xx 6.0 -7.0 -3.0
> Xx 7.0 -6.0 -3.0
> Xx 7.0 0.0 -3.0
> Xx 7.0 6.0 -3.0
> Xx -7.0 -6.0 -3.0
> Xx -7.0 -6.0 0.0
> Xx -7.0 -6.0 3.0
> Xx 5.5 5.5 5.5
> end "model inline";;
>
> Which looks right to me, but doesn't work when passed.  I'm going to
> try parsing it to convert to the vertical line syntax for inline data.
>
> Jonathan
> On Dec 18, 2009, at 10:25 AM, [email protected]
> wrote:
>
> > Date: Fri, 18 Dec 2009 09:21:36 -0600
> > From: Robert Hanson <[email protected]>
> > Subject: Re: [Jmol-users] Need help passing a state script form one
> >       applet  to another via javascript...
> > To: [email protected]
> > Message-ID:
> >       <[email protected]>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > Interesting. "inline data" is not a recognized data header. I'm
> > surprised
> > Jmol is saving that in the state. What version of Jmol is this?
> > (Could be a
> > difference with 11.8 vs. 11.6, I suppose.)
> >
> > generally to get the data you would use
> >
> > var data = jmolScriptWait("show data")
> >
> > Bob
>
>                          Dr. Jonathan H. Gutow
> Chemistry Department                                 [email protected]
> UW-Oshkosh                                           Office:920-424-1326
> 800 Algoma Boulevard                                 FAX:920-424-2042
> Oshkosh, WI 54901
>                  http://www.uwosh.edu/facstaff/gutow
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and
> easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>



-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to