You can also remove the -n flag, but then you should add
-j "exitJmol"
so that Jmol exits.
On Wed, Dec 4, 2013 at 9:42 AM, Robert Hanson <[email protected]> wrote:
> You need to use JmolData.jar, not Jmol.jar. Should work.
>
>
> On Wed, Dec 4, 2013 at 9:11 AM, Manohar Awasthi <[email protected]
> > wrote:
>
>> Hello Angel,
>>
>> I added refresh before the write command in the script.. It is still not
>> working. I tried with the following versions of Jmol:
>>
>> Jmol Version: 12.0.26 2010-11-06 14:33
>> Jmol Version: 13.0.18 2013-06-16 18:53
>> Jmol Version: 13.2.0 2013-07-18 20:59
>> Jmol Version: 13.3.3 2013-07-28 10:42
>>
>> The script file:
>> select all; color cpk; wireframe only; wireframe 0.15; spacefill 23%
>> set axes ON; axes 3; axes TICKS Y 1 0.5 0 ; font axes 24
>> zoom 70
>> set frank off
>> background [xFFFFFF]
>> font echo 60; set echo bottom center; echo "05"
>> refresh
>> write IMAGE 1800 1200 JPG 100 molecule.jpg
>>
>> Thanks and best regards,
>>
>> Manohar
>>
>>
>> On Wed, Dec 4, 2013 at 3:55 PM, Angel Herráez <[email protected]>wrote:
>>
>>> Hello, Manohar
>>>
>>> That's strange. I think this should not fail to work.
>>> Maybe the rendering is not updated yet when the export comes. Try
>>> adding
>>> refresh;
>>> before the write command
>>> and see if it fixes the problem
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Sponsored by Intel(R) XDK
>>> Develop, test and display web and hybrid apps with a single code base.
>>> Download it for free now!
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Jmol-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Sponsored by Intel(R) XDK
>> Develop, test and display web and hybrid apps with a single code base.
>> Download it for free now!
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Jmol-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>
>>
>
>
> --
> Robert M. Hanson
> Larson-Anderson Professor of Chemistry
> St. Olaf College
> Northfield, MN
> http://www.stolaf.edu/people/hansonr
>
>
> 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
>
>
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
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
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users