Hi,
I think you can build on this:
jmolScriptWait('var foo = "bar";');
var msg = jmolEvaluate( "script('echo @foo');" );
Alex
Am 26.01.2011 um 01:05 schrieb Angel Herráez:
> Hello all
>
> This must be trivial, but I'm stuck
>
> I need to extract the minimum and maximum residue nurmber from a one-chain
> pdb file into
> a Javascript variable.
> The Jmol commands are
> m1 = {*}.resno.min
> m2 = {*}.resno.max
> but I don't know how to pass those to a javascript variable (I need to check
> user input against
> them)
>
> Thanks,
> Angel
>
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users