We are almost there! I think I made some work for the translators, but in
general we have an amazing signed applet. Here's the scoop:

Basically the signed applet and the application now allow you to script
user-prompted file input and saving. All you do is use a question mark in
the script:

  load ?
  script ?.spt
  write file ?
  write ?.jpg
  write ?.png
  write POVRAY ?

The question mark indicates that Jmol should put up a dialog box that allows
you do browse your file system. There are three basic dialogs -- file open,
file save, and image write. These are all slightly different -- open has the
very cool preview capability of the Jmol application; save is a standard
save dialog, with confirmation if this will overwrite a file, and image
write has extra controls for quality of JPG and PNG images.

This works anywhere a file name might be used. For example:

  isosurface "?.jvxl"

lets you choose which surface to display if there are several.

In addition, the file open dialog box has a special feature you will really
like: You can use it to point to files on your hard drive, of course, but
also you can enter a URL there to get a file off the web, and you can enter
the abbreviated form =xxxx to get a PDB file directly from the Protein Data
Bank.

There are some threading issues there. I might need help from Charles and
Nico on that....

Bob






-- 
Robert M. Hanson
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
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to