.. highlightlang:: us .. index:: AppGetActiveDocument .. _appgetactivedocument: AppGetActiveDocument ==================== .. us.tag AppGetActiveDocument ENGLISH App :ref:`AppGetActiveDocument` retrieves the handle of the active document. .. function:: handle = AppGetActiveDocument() .. us.return **Return Value** If the function succeeds, the return value is the handle of the active document. If no document is active, the return value is zero. .. seealso:: :ref:`overview-application-object`, :ref:`AppGetActiveEditor`, :ref:`AppGetActivePage` :sub:`id-1554544`