×
UNIX.COM Login
Username:
Password:  
Show Password






👤


Windows & DOS: Issues & Discussions

All Windows and DOS questions should go here as well. Discuss UNIX to Windows (Desktop or Server) here!

Getting Error when using Module Win32::IEAutomation;

👤 Login to reply
 
Thread Tools Search this Thread Display Modes
    #1  
Old 12-02-2012
adisky123 adisky123 is offline
Registered User
 
Join Date: Oct 2012
Last Activity: 23 December 2013, 5:57 AM EST
Posts: 58
Thanks: 5
Thanked 0 Times in 0 Posts
Getting Error when using Module Win32::IEAutomation;

Hi All, How are you Guys?
I am using the Code
Code:
use Win32::IEAutomation;
        
        # Creating new instance of Internet Explorer
        my $ie = Win32::IEAutomation->new( visible => 1, maximize => 1);
        
        # Site navigation
        $ie->gotoURL('http://www.google.com');

When I am executing this code I am getting an error
Could not start AutoItX3 Control through OLE.
Any Idea how to resolve it.

Last edited by adisky123; 12-02-2012 at 10:18 AM.. Reason: Extra Duplicate Line.
Sponsored Links
    #2  
Old 12-03-2012
adisky123 adisky123 is offline
Registered User
 
Join Date: Oct 2012
Last Activity: 23 December 2013, 5:57 AM EST
Posts: 58
Thanks: 5
Thanked 0 Times in 0 Posts
Hi, Any idea..
Sponsored Links
    #3  
Old 12-19-2012
adisky123 adisky123 is offline
Registered User
 
Join Date: Oct 2012
Last Activity: 23 December 2013, 5:57 AM EST
Posts: 58
Thanks: 5
Thanked 0 Times in 0 Posts
Hi.. I tried a lot. But got getting solution.. Any idea you can give. How it can be resolved
    #4  
Old 12-19-2012
itkamaraj's Unix or Linux Image
itkamaraj itkamaraj is offline Forum Advisor  
Registered User
 
Join Date: Apr 2010
Last Activity: 8 July 2018, 6:50 AM EDT
Posts: 3,148
Thanks: 45
Thanked 698 Times in 674 Posts
http://www.perlmonks.org/?node_id=942141

Code:
use strict;
use Win32::OLE;

my $ie = Win32::OLE->new( 'InternetExplorer.Application' ) 
        or die "error starting IE";
$ie->{visible} = 1;
$ie->navigate( 'http://www.google.com/' );
sleep(4);
if(!defined $ie->Document())
  {
    print STDERR "Nope that failed as well");
  }
else
  {
    print "We have something back!\n";
  }

Sponsored Links
    #5  
Old 12-21-2012
adisky123 adisky123 is offline
Registered User
 
Join Date: Oct 2012
Last Activity: 23 December 2013, 5:57 AM EST
Posts: 58
Thanks: 5
Thanked 0 Times in 0 Posts
But by using Win32::OLE I cannot use the functionality of Win32::IEAutomation;
Sponsored Links
👤 Login to reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
error:- sh: error importing function definition for `module prasson_ibm UNIX for Advanced & Expert Users 0 09-26-2012 03:42 PM
win32::IEAutomation jyo123.jyothi Shell Programming and Scripting 3 07-17-2008 05:02 PM
execution status of gotoURL in Win32::IEAutomation gurukottur Shell Programming and Scripting 2 11-22-2007 02:27 AM
perl win32::ieautomation gurukottur Shell Programming and Scripting 0 11-06-2007 07:59 AM
perl script using Win32::IEAutomation gurukottur Shell Programming and Scripting 5 10-29-2007 01:14 AM



All times are GMT -4. The time now is 09:00 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.