for certain document types on scanning (and following automatic OCR to searchable PDF) a script will ask for certain details using a prompt. To be able to answer the questions/prompts, it would be useful to actually see the scanned document - is there any way I can tell the script to display the document (preferably in the DT preview window)? As the document doesn’t appear in the list view until after the smart rules have finished, it’s not obvious to me how to do that.
No, I only want the document to become selected so that I can see which document the smart rule is referring to, and for the document to preferably be displayed in preview.
So, I scan a document, SSH sends it to DT.
DT is set to OCR in the preferences.
A smart rule triggers after OCR and with a script asks “what colour is the document”
and I can’t answer, because the document is not displayed anywhere at this point.
Is that a better explanation of what I’m trying to do?
Put simply: certain documents have a handwritten number on them; on scanning, I’m asking the user to enter that number (which is then pasted to custom metadata).
The selection isn’t to be influenced by the input - what I need is to be able to read the document when I enter the number - ie for the document to show in the preview window (as if it were selected). Currently that doesn’t happen, because rules triggered on import after automatic OCR act on the document before it becomes visible.
yes Sir, I can - in a little window in the corner of the screen, one which closes again when I have entered the requisite data. Preview is not very scriptable, but it should suffice