S
Sylvia
Hello,
Thanks to the generous help of some people here, I can via perl open a
word doc on the internet and get text from it.
My one remaining issue (I hope!) is that every time I open a doc, it
prompts me for a username/password, not once, but twice. I hit cancel
twice, and still get the doc, but this won't work when I'm trying to
parse through hundreds of docs.
Here's what I'm using:
***************************************************
***************************************************
use strict;
use Win32::OLE qw(in with);
my($input_file) =
'http://www.cityofbellevue.org/departments/Police/files/Press_2005_08_01_2000.doc';
my($word) = Win32::OLE->new('Word.Application', 'Quit') || die
"Couldn't run Word";
my($doc) = $word->Documents->Open($input_file);
$doc->{Saved} = 1;
$doc->Close;
exit(0);
***************************************************
***************************************************
Any idea on how I could avoid the login prompts?
Thanks much!
Sylvia
Thanks to the generous help of some people here, I can via perl open a
word doc on the internet and get text from it.
My one remaining issue (I hope!) is that every time I open a doc, it
prompts me for a username/password, not once, but twice. I hit cancel
twice, and still get the doc, but this won't work when I'm trying to
parse through hundreds of docs.
Here's what I'm using:
***************************************************
***************************************************
use strict;
use Win32::OLE qw(in with);
my($input_file) =
'http://www.cityofbellevue.org/departments/Police/files/Press_2005_08_01_2000.doc';
my($word) = Win32::OLE->new('Word.Application', 'Quit') || die
"Couldn't run Word";
my($doc) = $word->Documents->Open($input_file);
$doc->{Saved} = 1;
$doc->Close;
exit(0);
***************************************************
***************************************************
Any idea on how I could avoid the login prompts?
Thanks much!
Sylvia