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