Sorry -- a fix I made did not make it into the package. Standby....

On Tue, Sep 16, 2008 at 2:36 AM, Paul Pillot <
[EMAIL PROTECTED]> wrote:

> Bob,I am still experiencing the same bug with MacOs X.4, Safari : from
> your "simple" page, I can't load any local file. Preview works fine, but the
> final path provided to the applet is not correct (relative to the webpage
> and not absolute):
>
> FileManager opening http://chemapps.stolaf.edu/Users/paul/Desktop/1F58.pdb
> file ERROR: http://chemapps.stolaf.edu/Users/paul/Desktop/1F58.pdb
> java.io.FileNotFoundException:
> http://chemapps.stolaf.edu/Users/paul/Desktop/1F58.pdb
> openFile(?=1crn): 14076 ms
> eval ERROR: java.io.FileNotFoundException:
> http://chemapps.stolaf.edu/Users/paul/Desktop/1F58.pdb
> ----line 1 command 1 of  file null:
>          load >> "?=1crn" <<
>
> Also, after not having been able to load a file, the applet completely
> stops working : no more command can be issued...
>
> Paul
>
> Le 16 sept. 08 à 07:51, Robert Hanson a écrit :
>
> Oh, I see now that Java on the Mac doesn't allow entry of filenames by
> keyboard typing in file-open dialog boxes. That's unfortunate.
>
>
> It boggles my mind why Apple hasn't caught on to the fact that maybe a
> file-open box could also be used for input from the web. Sure works nicely
> on the PC.
>
>
> If someone knows how to coerce Java on the Mac to display a file name entry
> box, let me know. Othewise I'll have to put up something different for
> web-based file entry. I suppose it could be added as a separate text box.
>
>
> Bob
>
>
> On Tue, Sep 16, 2008 at 12:42 AM, Robert Hanson <[EMAIL PROTECTED]>wrote:
>
>> 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
>>
>
>
>
> --
> 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
>
>
>
> -------------------------------------------------------------------------
> 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
-------------------------------------------------------------------------
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

Reply via email to