Jmol users, good news!
The signed new applet load/save menu items have been checked successfully
now on Windows XP/Firefox,MSIE and Mac OS-X/Safari,Firefox. This is a whole
new age for the applet. Specifically the signed applet menu adds these two
items near the top:
Load >
Load PDB
Load file or URL
Load full unit cell
Save >
File [filename here]
SPT State
SPT History
---
JPG Image
PNG Image
POV-Ray
---
JVXL Isosurface
VRML 3D Model
Maya 3D Model
Really these are just scripts that employ the new capability to throw up a
file open/save dialog box anyplace in a script where a filename is
appropriate. Just prepend the filename with a question mark:
load ?
script ?.spt
write image 500 500 ?1crn.jpg
isosurface "?.jvxl"
In addition,
load ?
has the interesting capability of allowing Jmol preview of the model prior
to full loading -- even of remote web-based models.
It's that simple.
The ? syntax works also in the Jmol application, since the two code segments
were merged in the process of development.
As currently implemented, if the user clicks [cancel], then any further
script processing within that running script is canceled --- same as a quit
command. The logic there is that if a file wasn't loaded, probably one
should not continue to the next line of the script.
The revision is 11.6.RC15. You can see it in action at
http://chemapps.stolaf.edu/jmol/docs/examples-11/simple.htm?1blu
(or your choice of any four-digit PDB code)
and
http://Jmol.ProteinExplorer.org
I'm sure there are some interface glitches here, so please check these
capabilities out and send your feedback.
I think a reasonable estimate of release of 1.6 should be Oct. 1. If people
can get testing on this, I should be able to have a final release candidate
soon, and then two weeks of stability testing should do it.
Enjoy!
Bob
ps - It turns out there was a GIF encoder hiding in the Jmol code all along,
so I activated that as well. You can now save GIF images, but frankly they
look terrible because (I believe) GIF is limited to 256 colors. So I didn't
add that possibility to the menu.
On Mon, Sep 15, 2008 at 4:26 PM, Robert Hanson <[EMAIL PROTECTED]> wrote:
> OK, I'll check out Mac OS tonight. Not surprised, really.
>
> <http://chemapps.stolaf.edu/Users/paul/Documents/>Bob
>
>
> On Mon, Sep 15, 2008 at 3:46 PM, Paul Pillot <
> [EMAIL PROTECTED]> wrote:
>
>> Bob, this is GREAT !
>> I specially appreciate that the snapshot taken is with
>> antialiasdisplay on even if the original image hasn't got this setting.
>> Would it be possible to add a dialog with the image size as well, if
>> one wants to increase (or decrease!) the resolution ?
>>
>> Unfortunately loading models from my hard drive did not work so well,
>> I ran into a bug with MacOSX 10.4, using Safari with your simple page:
>>
>> FileManager opening http://chemapps.stolaf.edu/Users/paul/Documents/
>> 1HSW.pdb
>> file ERROR: http://chemapps.stolaf.edu/Users/paul/Documents/1HSW.pdb
>> java.io.FileNotFoundException: http://chemapps.stolaf.edu/Users/paul/
>> Documents/1HSW.pdb
>> openFile(?): 1428 ms
>> eval ERROR: java.io.FileNotFoundException: http://chemapps.stolaf.edu/
>> Users/paul/Documents/1HSW.pdb
>> ----line 1 command 1 of file null:
>> load >> "?" <<
>>
>> This makes clear that the path has gone wrong due to the
>> concatenation of the actual page base location, with the desired
>> local file path...
>>
>> Paul
>>
>> -------------------------------------------------------------------------
>> 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
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>
>
>
>
> --
> 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
>
--
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users