It's been a long while since I've been here. I am trying to use Win32 IEAutomation to automate IE to login to SharePoint, read some information, download some files and some other junk. I installed WIN32 IEAutomation. When I run the simple script:

use Win32::IEAutomation;
my $ie = Win32::IEAutomation->new( visible => 1, maximize => 1);

I get "Could not start AutoItX3 Control through OLE". I have googled this and all of the solutions that I can find don't work. I modified WinClicker to specify where the AutoItX3.dll is - no go. I installed all of AutoIt - no go. I mannually registered the AutoItX3.dll - no go.

Anyone done this? Anyone know how I can get this to work?

Thanks in advance,

3 Years
Discussion Span
Last Post by mitchems

No good news here... I did some searching with Google and discovered that Win32::IEAutomation does not appear to work with any version of IE after 8.0. Apparently MS changed the OLE interface which broke IEAutomation and it has not been corrected.

There is a similar module Win32::IE::Mechanize which was intended to do the same thing and it is likewise broken on newer versions of IE. (See http://www.perlmonks.org/?node_id=1061372)


Thanks. I found the same thing. I had to implement a web-services based work around which is probably better than the IE scraping deal anyway. Thanks again.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.