Altova XMLSpy 2022 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.

 

 

 

© 2016-2022 Altova GmbH