Results 1 to 5 of 5
  1. #1
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Lewes, East Sussex, Sussex, United Kingdom
    Posts
    232
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Word Paint & OCR (Word 2003)

    We have a request from a user who wants to automatically get Word (using VBA) to use Paint to copy an image from the Clipboard , save it as a TIFF file, then use Image & Fax Viewer to OCR it, and save the text in a new Word document.

    I'm not sure how possible this is - if at all.

    I'd welcome any advice on controlling Paint using VBA, likewise on Document Scanning/Imaging

    Usual thanks for your expert help

    Nick

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Word Paint & OCR (Word 2003)

    Paint is a very simple program. Unlike the Office applications, it doesn't have a programming interface. The same holds for the Image and Fax Viewer.

    There may be more advanced graphics applications that can be programmed, but I can't help you with that.

  3. #3
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Lewes, East Sussex, Sussex, United Kingdom
    Posts
    232
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Word Paint & OCR (Word 2003)

    Hans

    Thanks for that. I had a feeling it was not possible.

    Nick

  4. #4
    Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,852
    Thanks
    4
    Thanked 259 Times in 239 Posts

    Re: Word Paint & OCR (Word 2003)

    Do you have other software that can perform OCR?

    If you had Adobe Acrobat then it would be far simpler since there are less programs involved and it is scriptable from Word. It would still take a lot of work to get this working sensibly but at least it is achievable.

    There may be other OCR packages that are also scriptable but I dont know of any.
    Andrew Lockton, Chrysalis Design, Melbourne Australia

  5. #5
    4 Star Lounger
    Join Date
    Dec 2003
    Location
    Zoetermeer, Zuid-Holland, Netherlands
    Posts
    559
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Word Paint & OCR (Word 2003)

    Maybe it can be done with a little scripting using AutoIt, a <img src=/S/free.gif border=0 alt=free width=30 height=15> Windows automation language. It can be used to script most simple Windows-based tasks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •