I guess you are talking about something like this. r-OCR.zip (329 KB - downloaded 329 times.)
I have been using this for months now and is quite useful.
It's written in Autoit3 v184.108.40.206 and requires MS Office 2003 or 2007 Document Imaging installed.
Check here for more information: Microsoft Office Document Imaging Visual Basic