Copy - Paste from/to Marvin JS

  • Why do I lose items during copying (cutting) from Marvin JS application and pasting it?
    In Marvin JS, two copy formats are available: MRV or Mol V2000. If your administrator chose the latter, all the items which are not supported by Mol V2000 format, will be lost.
    Inside the application we recommend using Duplication action (can be find in Selection Context menu) or (if it is possible) ask your administrator to change the copy format from MOL to MRV.

  • When I press Cut/Copy/Paste buttons, instead of the action, I get a message which says I need to use the keyboard shortcuts. Why is that?
    This message appears in browsers which (by security reasons) do not give direct access for JavaScript applications to your system clipboard.
    In these cases Marvin JS will remind you to use the keyboard shortcuts which will make the copy/paste function available via browser actions.

  • I cannot paste my structure copied from Marvin Sketch. How can I solve this?
    In Marvin Sketch, OLE format is the default copy format in Windows OS. Microsoft OLE format is a binary format, which is not allowed to copy or paste by any of the browsers.
    There are some workarounds to paste your structures into Marvin JS canvas:

    1. If you do not copy Microsoft OLE (editable format) to any Microsoft Office application (e.g. Word, Excel) you can disable this functionality. (See the detailed description here.)

    2. If you need to keep this functionality too, select your structures in Marvin Sketch, then use the Copy as... functionality which is available from the context menu or via Ctrl+K keyboard shortcut.
      In the appearing dialog select MRV format (which will grant the seamless copy-paste) or any other text format (Please consider that Marvin JS only supports MRV and MOL V2000 formats natively, for pasting other formats, the appropriate web service needs to be available.)
      Marvin Sketch will remember your last choice, thus for successive copying you only need to remember the Ctrl(Command)+K and Enter combination.

    3. In Marvin Sketch Ctrl(Command)+M shortcut is reserved for MRV copy. You can use this shortcut instead of Ctrl(Command)+C action for copying the selected structure.

  • I cannot paste my structure copied from other vendor`s application. How could I do this anyway?
    Some chemical editors' handle the structures in special binary formats (e.g. SKC, CDX...), which are not allowed to paste by any browsers.
    In most of these applications there is an option which allows to copy as another, text based format. For example Mol V2000, Mol V3000, SMILES, SMARTS etc. Copy your structure as one of the text formats, and you can easily paste these into Marvin JS.
    It is also a good solution, if you save your structure to the binary format, then open it via Import dialog or just Drag&Drop your file from your file system to Marvin JS canvas.