TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

execCommand

Use the execCommand method of the window.AscDesktopEditor object to execute a command specified in the request.

window.AscDesktopEditor.execCommand (command, parameters)
Parameters
Name Description Type
Defines a command that must be executed. string
Defines the parameters that are passed to the method. string

The following commands are available:

Commands
Command Description
Opens a document.
Transfers the information about a password from the login page to the desktop app.
Registers a cloud and adds it to the Connected clouds page.
Removes a cloud from the list on the Connected clouds page.
Changes a theme of the desktop editor tab.