Get Started
Plugins
Macros
More information

window.Asc.plugin.executeMethod ("GetSelectedText", callback)

Description

Defines the method that allows getting the selected text from the document.

Usage

This method should be used in the following way:

window.Asc.plugin.executeMethod ("GetSelectedText");
Returns

The method returns the selected text in the string format.

Example
window.Asc.plugin.executeMethod("GetSelectedText", [], function(sText) {
    CorrectText(sText);
})