Skip to main content Skip to complementary content

GetActiveDoc method

Returns the handle of the current app.

Returns

Name Description Type
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" } }

ObjectInterface

See also

Create and open an app

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!