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