try

print script("script('show orientation')", "B")

The SHOW command by itself doesn't return a value, but when it is in a
script() function it does.

Bob

On Sun, Mar 20, 2011 at 7:03 AM, Paul Pillot <
[email protected]> wrote:

> The web page http://chemapps.stolaf.edu/jmol/docs/examples-11/sync2.htmfrom 
> Jmol documentation states that the following command :
>
> print script("show orientation","B")
>
> should allow to get the show orientation result from applet B, inside the A
> applet's console. Instead I only get what I suppose is an empty array []
> Is that a bug or am I missing something ?
> Thanks,
> Paul
>
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> 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
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to