Selection Of Scanner


I've got some code, that needs to execute before the file saves, or I just need to rename the file.

However, I need to know if it is possible to select the scanner with the dialog, and then cherry pick the options (that I apply within code) to scan.

Basically my walkthrough is as follows:
Enter DRAIN ID (text)
Enter PhysicalWidth (drop down)
Enter PhysicalHeight (drop down)
Enter Resolution (set standard to 150 dpi)
Enter DocumentUTI (set to pdf)


Select scanner details (drop downs)

Hit AI Discernment

  • Scans document
  • PDF kit to JPEG Page
  • Machine learning: determine document type
  • Apply document type which should auto fill the remainder of options as mentioned above.
  • Save image