Skip to main content Skip to complementary content

GetActiveDoc method

Overview

Returns the handle of the current app.

Parameters

None

Outputs

The following is returned in the output:

"result": { "qReturn": { "qType": "Doc", "qHandle": <handle of the app> } }

If no app is opened, an error message is returned:

{ "jsonrpc": "2.0", "id": 2, "error": { "code": 1007, "parameter": "No active document", "message": "App invalid" } }

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!