On Monday 22 March 2004 19:32, Miguel Howard wrote:
> > Hey everyone,
> >
> > I solved the Paste mystery on the Mac!
> >
> > Jmol requires one to type CONTROL-V for paste, even on a Mac.  On a
> > Mac, the usual shortcut is COMMAND-V.  (The COMMAND key is also known
> > as the Apple key.)  The CONTROL key has been so rarely used for
> > anything on the Mac that it didn't even occur to me to try it before
> > now.
>
> However, I continue to refuse to believe that this is a Jmol issue. I do
> not believe that there is any code in Jmol which is supporting paste
> operations. I believe that this is an Apple bug.

Agreed. That sort of copy-paste is part of Swing, and not of Jmol itself...

Drag-and-drop would be part of Jmol, and this is something on my wishlist:

- to drag a file (or URL!) from my internet browser, drop it on Jmol, and then 
Jmol loads that file

Not that difficult to implement. It just requires some knowledge about Jmol 
specific copy-paste implementation, i.e. a copy-paste functionality for the 
rendering panel... that is not covered by Swing... That c-p function would 
just serialize the displayed content into MDL mol, CML and XYZ and put all 
three on the clipboard.

D-and-d is then a simple extension, as I have been told.... 

And the copy-paste would allow easy exchange of data between Jmol and other 
chemical programs like ChemDraw, Isis/Draw, JChemPaint, etc...

Egon


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Jmol-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to