Activer JavaScript pour consulter ce site.

Altova XMLSpy 2021 Enterprise Edition

Superseded by AuthenticRange.Copy

 

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

 

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

// instead of:

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

// use now:

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

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

 

 

Declaration: EditCopy

 

Description

Copies the current selection to the clipboard.

 

 

 

© 2015-2021 Altova GmbH