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"
}
}