Please disregard previous mail. Your suggestion of using waitmessage works 
perfect.
Thank you again,
Jaim

On Jan 15, 2014, at 3:06 PM, Jaime Prilusky <jaime.prilu...@weizmann.ac.il> 
wrote:

> Thank you for a prompt reply, but it’s not working for me on 14.0.5.
> The command waitmessage is undocumented. Maybe it’s something you added?
> 
> On Jan 15, 2014, at 1:48 PM, Rolf Huehne <rhue...@fli-leibniz.de> wrote:
> 
>> On 01/15/2014 12:18 PM, Jaime Prilusky wrote:
>>> I would like to have a message “Working …” while Jmol is calculating and 
>>> rendering.
>>> 
>>> The following script displays the message only while rendering.
>>> 
>>> There’s no message while calculating. I’ve added some refresh commands just 
>>> in case, but same result.
>>> 
>>> Tried with different representations instead of dots. Isosurface solvent is 
>>> the worst example, where there seems to be no activity at all for a long 
>>> time, then in a fast sequence I get the message, the rendering, and the 
>>> message removed.
>>> 
>>> select all;
>>> set echo middle center;
>>> echo Working ...|Please wait;
>>> font echo 20 ariel;
>>> color echo green;
>>> refresh;
>>> dots 100%;
>>> refresh;
>>> set echo OFF;
>>> 
>>> Suggestions?
>>> 
>> The same approach seems to work properly within the 'Jena3D Viewer' with 
>> Jmol 14.0.1 (e.g.: 
>> http://jenalib.fli-leibniz.de/cgi-bin/3d_mapping.pl?CODE=1otz&APPLET=java).
>> There each command string that is issued with 'Jmol.script()' is 
>> surrounded by the following:
>> 
>> BEFORE: 'set echo waitmessage 0% 100%; echo "Please wait..."; refresh;\n'
>> 
>> AFTER: '\n set echo waitmessage off;'
>> 
>> If you would enter in the 'Script' input field of the 'Jena3D Viewer' 
>> interface for example "select all; isosurface solvent" then the command 
>> string sent to Jmol would actually look like this:
>> 
>> set echo waitmessage 0% 100%; echo "Please wait..."; refresh;\nselect 
>> all; isosurface solvent\n set echo waitmessage off;
>> 
>> The "Please wait..." message appears on my system while Jmol is 
>> calculating the isosurface.
>> 
>> Regards,
>> Rolf
>> 
>> -- 
>> 
>> Rolf Huehne
>> Postdoc
>> 
>> Leibniz Institute for Age Research - Fritz Lipmann Institute (FLI)
>> Beutenbergstrasse 11
>> 07745 Jena, Germany
>> 
>> Phone:   +49 3641 65 6205
>> Fax:     +49 3641 65 6210
>> E-Mail:  rhue...@fli-leibniz.de
>> Website: http://www.fli-leibniz.de
>> 
>>          Scientific Director: Prof. Dr. K. Lenhard Rudolph
>>       Head of Administration: Dr. Daniele Barthel
>> Chairman of Board of Trustees: Dennys Klein
>> 
>> VAT No: DE 153 925 464
>> Register of Associations: No. 230296, Amtsgericht Jena
>> Tax Number: 162/141/08228
>> 
>> 
>> ------------------------------------------------------------------------------
>> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
>> Learn Why More Businesses Are Choosing CenturyLink Cloud For
>> Critical Workloads, Development Environments & Everything In Between.
>> Get a Quote or Start a Free Trial Today. 
>> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Jmol-users mailing list
>> Jmol-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
> 


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to