Get Started
Plugins
Macros
More information

window.Asc.plugin.executeMethod ("MoveCursorToContentControl", [args], callback)

Description

Defines the method that allows moving the cursor to the specified content control.

Usage

This method should be used in the following way:

window.Asc.plugin.executeMethod ("MoveCursorToContentControl", [InternalId, isBegin]);
Parameters
Parameter Description Type Example
InternalId A unique internal identifier of the content control. string "2_839"
isBegin Defines if the cursor position changes in the content control. By default, the cursor will be placed to the content control begin (false). boolean false
Returns

The method returns the undefined value.

Example
window.Asc.plugin.executeMethod ("MoveCursorToContentControl", ["2_839", false]);