Hi, Rolf

I've tried to implement this code as

   function exportAnimation(jmol_movie, 500, 500, 180, "rotate
   axisangle {1 1 0} 2")

   {
       var printFormat = "" + jmol_movie + "_%0" + stepCount.length +
   "d.png";
       var savedBackgroundColor = backgroundColor;
       background [x101010];
       for (var i=1; i<=stepCount; i++) {
         var filename = format(printFormat, i);
         var writeCommand = "write IMAGE " + 500 + " " + 500 + " PNGT 9
   " + jmol_movie;
         var dummy = script(writeCommand);
         dummy     = script("rotate axisangle {1 1 0} 2");
       }
       background @savedBackgroundColor;
   }

And I got this error:

   script compiler ERROR: ) expected
   ----
             function exportAnimation(jmol_movie, 500, 500, 180,
   rotate  <<<<

Thanks for your time,
Brenton
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to