On Thu, Sep 15, 2011 at 11:47 AM, Martin Hediger <[email protected]> wrote:
>
> Now how do I make the replacePDBCoords-function available? Basically I
> was hoping for a button, so once the model is rotated, the user can
> click the button and the new coordinates are saved.
>
>
You would add the script below, defining the function, to whatever script
you use when creating the applet. The code will then be there from that
point on, and you can issue just
replacePDBCoords("?")
to initiate a file save dialog that the user will use to save the file
somewhere on their machine.
Bob
--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107
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
------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops? How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users