Re: [Jmol-users] Help to put Jmol on server for multi-GIF

2015-11-16 Thread Rolf Huehne
On 11/16/2015 08:24 PM, Eric Martz wrote:
> Bob has said that the signed Jmol_s Java applet will NOT be able to
> write files to the local disk.
>
Eric, do you mean the signed Java applet with the "unsigned" privileges 
only (which was the unsigned applet in the past) or with the full 
"signed" privileges?
With full priviliges saving should work.

Have you actually tried yet if it works or not?

Regards,
Rolf
-- 

Rolf Huehne
Postdoc

Leibniz Institute on Aging - Fritz Lipmann Institute (FLI)
Beutenbergstrasse 11
07745 Jena, Germany

Phone:   +49 3641 65 6205
Fax: +49 3641 65 6210
E-Mail:  rhue...@leibniz-fli.de
Website: http://www.leibniz-fli.de

   Scientific Director: Prof. Dr. K. Lenhard Rudolph
Head of Administration: Dr. Daniele Barthel
Chairman of Board of Trustees: Burkhard Zinner

VAT No: DE 153 925 464
Register of Associations: No. 230296, Amtsgericht Jena
Tax Number: 162/141/08228


--
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a 
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911=/4140
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] Help to put Jmol on server for multi-GIF

2015-11-16 Thread Eric Martz

Dear Rolf and Bob,

I tested it in June and it didn't work.
In this message in June
http://sourceforge.net/p/jmol/mailman/message/34196031/
Bob said

" I don't plan on having capture available for the applet."

But today IT WORKS!!!

Indeed it opens a file save dialog and you can save to the local disk.
Hooray!
I hope this is intentional, not a bug.

Bob, please confirm that this will remain available -- before I spend a 
lot of time developing a user interface in FirstGlance to save an 
animation for Powerpoint.


-Eric

On 11/16/15 2:33 PM, Rolf Huehne wrote:

On 11/16/2015 08:24 PM, Eric Martz wrote:

Bob has said that the signed Jmol_s Java applet will NOT be able to
write files to the local disk.


Eric, do you mean the signed Java applet with the "unsigned" privileges
only (which was the unsigned applet in the past) or with the full
"signed" privileges?
With full priviliges saving should work.

Have you actually tried yet if it works or not?

Regards,
Rolf


--
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a 
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911=/4140___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


[Jmol-users] Help to put Jmol on server for multi-GIF

2015-11-16 Thread Eric Martz
I would like to add a feature to FirstGlance in Jmol. While using it 
(always in a web browser), I would like a button that generates a 
rotating multi-GIF of the current molecular view, for inclusion in a 
slide presentation.


In the Jmol application, a one-line command accomplishes that:

   capture “something.gif” spin Y # THANK YOU BOB!

Examples of such animations can be viewed in this Powerpoint:
https://www.dropbox.com/s/ki7wkuj8ojlvb0f/animation-examples-jmol.pptx?dl=0
(/You don't have to login to dropbox. Click "no thanks, continue to 
download"/.)


Bob has said that the signed Jmol_s Java applet will NOT be able to 
write files to the local disk.


Therefore I think the best solution might be to submit the current model 
and Jmol state script to a server, have the server run Jmol application, 
generate the multi-GIF file, and hand it back to the user for download.


1. Is this the best solution?

2. If so, will someone please guide me in how to do this?

Thanks very much, Eric

Eric Martz, Professor Emeritus, Dept Microbiology
U Mass, Amherst -- Martz.MolviZ.Org 

 * Top Five 3D MolVis Tools: Top5.MolviZ.Org 
 * FirstGlance: 3D Molecules in /Nature/: FirstGlance.Jmol.Org
   
 * Protein 3D Structure Wiki: Proteopedia.Org 
 * Education: Biochem in 3D at MolviZ.Org 
 * Find Functional Patches in Proteins: ConSurf 
 * Atlas of Macromolecules: Atlas.MolviZ.Org 
 * Interactive Molecules in Architectural Spaces:
   MolecularPlayground.Org 
 * Workshops: Workshops.MolviZ.Org 

--
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a 
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911=/4140___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] Help to put Jmol on server for multi-GIF

2015-11-16 Thread Robert Hanson
  public boolean allowCapture() {
return !isApplet || isSignedApplet;
  }

Eric, I must have misunderstood you -- I meant no capture for JSmol.
​
--
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a 
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911=/4140___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] Help to put Jmol on server for multi-GIF

2015-11-16 Thread Eric Martz

DOUBLE HOORAY!!!

So I will begin coding a user interface to use capture from the applet 
in a browser.


Thanks Bob,
-Eric

On 11/16/15 6:34 PM, Robert Hanson wrote:

  public boolean allowCapture() {
return !isApplet || isSignedApplet;
  }

Eric, I must have misunderstood you -- I meant no capture for JSmol.
​




--
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a 
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911=/4140___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] Help to put Jmol on server for multi-GIF

2015-11-16 Thread Robert Hanson
better warn them how big these files can get.

On Mon, Nov 16, 2015 at 5:52 PM, Eric Martz 
wrote:

> DOUBLE HOORAY!!!
>
> So I will begin coding a user interface to use capture from the applet in
> a browser.
>
> Thanks Bob,
> -Eric
>
>
> On 11/16/15 6:34 PM, Robert Hanson wrote:
>
>   public boolean allowCapture() {
> return !isApplet || isSignedApplet;
>   }
>
> Eric, I must have misunderstood you -- I meant no capture for JSmol.
> ​
>
>
>
>
>
> --
> Presto, an open source distributed SQL query engine for big data, initially
> developed by Facebook, enables you to easily query your data on Hadoop in a
> more interactive manner. Teradata is also now providing full enterprise
> support for Presto. Download a free open source copy now.
> http://pubads.g.doubleclick.net/gampad/clk?id=250295911=/4140
> ___
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>


-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Department 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
--
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users