AutomatedDocumentCapture in applications