Unix/Linux Go Back    


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;

Windows & DOS: Issues & Discussions


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 12-02-2012   -   Original Discussion by adisky123
adisky123's Unix or Linux Image
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 11:18 AM.. Reason: Extra Duplicate Line.
Sponsored Links
    #2  
Old Unix and Linux 12-03-2012   -   Original Discussion by adisky123
adisky123's Unix or Linux Image
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 Unix and Linux 12-19-2012   -   Original Discussion by adisky123
adisky123's Unix or Linux Image
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 Unix and Linux 12-19-2012   -   Original Discussion by adisky123
itkamaraj's Unix or Linux Image
itkamaraj itkamaraj is offline Forum Advisor  
Registered User
 
Join Date: Apr 2010
Last Activity: 5 November 2017, 9:59 PM EST
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 Unix and Linux 12-21-2012   -   Original Discussion by adisky123
adisky123's Unix or Linux Image
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
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux 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 04:42 PM
win32::IEAutomation jyo123.jyothi Shell Programming and Scripting 3 07-17-2008 06:02 PM
execution status of gotoURL in Win32::IEAutomation gurukottur Shell Programming and Scripting 2 11-22-2007 03:27 AM
perl win32::ieautomation gurukottur Shell Programming and Scripting 0 11-06-2007 08:59 AM
perl script using Win32::IEAutomation gurukottur Shell Programming and Scripting 5 10-29-2007 02:14 AM



All times are GMT -4. The time now is 06:00 AM.