in reply to Re^4: Why the Create method keep failing using Office 2007 OCR API?
in thread Why the Create method keep failing using Office 2007 OCR API?

$miDoc->{Images}->Item(0)->{Layout}{Text};
is four operations, and each and every one can fail
my $images = $miDoc->{Images} || die $^E; my $first = $images->Item(0) || die $^E; my $layout = $first->{Layout} || die $^E; my $text = $layout->{Text} || die $^E;

Replies are listed 'Best First'.
Re^6: Why the Create method keep failing using Office 2007 OCR API?
by ZJ.Mike.2009 (Scribe) on Mar 02, 2010 at 04:44 UTC
    @Anonymous Monk, thanks again. If I were to load an MDI file that already has the OCRed result information, the script would output the OCRed text. Otherwise, it dies at the last step. For the above four operations, it dies at my $text line.