Pat, see http://www.stolaf.edu/academics/chemapps/jmol/docs/examples-11/new.htm

set echo top left;
echo loading quartz.cif...;
delay 1;
load "quartz.cif" {1 1 1};


The delay there is just so you get a refresh. I think "refresh"
instead of "delay 1" would also work just fine.


Bob



On 4/21/07, Sérgio Ceroni da Silva <[EMAIL PROTECTED]> wrote:
> P.J. Carroll wrote:
> > How do I get the Jmol applet to display a "Loading..." message? When
> > I load a series of unit cells, e.g., with the command:
> >
> >               load XXXX.cif {444 666 0}
> >
> > it, of course, can take quite a while to load the atoms, depending on
> > the size of the molecule. During this time, the user has no
> > indication that something is going on. It would be nice to display a
> > message.
> >
>
> Very simple:
>
>         script pre.txt; load XXXX.cif {444 666 0}
>
>
> and the script file:
>
>         ###########
>         # pre.txt #
>         ###########
>         zap;
>         set echo middle center;
>         font echo 18 sanserif bold;
>         color echo navy;
>         echo Loading molecule|It could take a while||Please wait...;
>         delay 0.1;
>
>
> I'm not sure if the "zap" and "delay" are still needed.
> Regards
> Sérgio
>
> --
> Dr. Sérgio Ceroni da Silva
> Centro de Biotecnologia, Universidade Federal do Rio Grande do Sul
> Av. Bento Gonçalves, 9500 - Prédio 43421 - Campus do Vale - Caixa Postal 15005
> Porto Alegre, RS - Brasil - 91501-970
> ==================================================
> Tel.: +55 (51) 3308-6091 | Fax: +55 (51) 3308-7309
> http://www6.ufrgs.br/bioquimica
>
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to