Please enable JavaScript to view this site.

Altova XMLSpy 2020 Professional Edition

Superseded by AuthenticRange.Paste

 

The Paste method of AuthenticRange allows to delete any range of the document, not only the current UI selection.

 

// ----- javascript sample -----

// instead of:

// Application.ActiveDocument.DocEditView.EditPaste();

// use now:

if (! Application.ActiveDocument.AuthenticView.Selection.Paste())

   MsgBox ("Error: can't paste to current selection");

 

 

Declaration: EditPaste

 

Description

Pastes the content from the clipboard into the document.

 

 

 

© 2020 Altova GmbH