Jump to content

AutoIt failing to get initialize.


Prabhu
 Share

Recommended Posts

I try to invoke AutoIt from a perl script as follows:

D:\>perl AutoIt.pl

The perl script is as follows:

`D:\\AutoIt F1.au3`;

The script F1.au3 sends {F1} to a application :

WinWaitActive("Control Panel")

Send("{F1}")

When I execute the perl script I get an error: Application failed to initialize properly (0xc0150004).

However if on the command line if I do the following it is successful.

D:\>AutoIt F1.au3

What could be the reason for failure.

I use windows XP. Weirdly I observed that the running from perl script is successful when I try it in another machine..

Please advise.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...