User 01fea90d1a
24-02-2009 17:01:45
Hello
I want to replace the action in js function paste by pasting the content of the clipboard ( a copy from chemdraw or isis draw) instead of inserting the content of a molfile.
<html>
<head>
<script LANGUAGE="JavaScript1.1" SRC="moleditor/marvin.js">
</script>
</head>
<body>
<script>
function paste()
{
document.MView.setM(0,"mrg.mol");
}
mview_name = "MView";
mview_begin("moleditor/", 100, 100);
mview_end();
</script>
Click here to paste structure from drawing program
</body>
</html>
Is it possible or must I use the menu item of marvinview?
MARC
I want to replace the action in js function paste by pasting the content of the clipboard ( a copy from chemdraw or isis draw) instead of inserting the content of a molfile.
<html>
<head>
<script LANGUAGE="JavaScript1.1" SRC="moleditor/marvin.js">
</script>
</head>
<body>
<script>
function paste()
{
document.MView.setM(0,"mrg.mol");
}
mview_name = "MView";
mview_begin("moleditor/", 100, 100);
mview_end();
</script>
Click here to paste structure from drawing program
</body>
</html>
Is it possible or must I use the menu item of marvinview?
MARC