Jump to content

Recommended Posts

Posted

Hey guys, tell me what I've done wrong - I'm getting the following error after having added a macro call:

Run($HM_file, $HM_path, @SW_SHOWMAXIMIZED)

Since having added the @SW_SHOWMAXIMIZED part, I get the following error:

"AutoIT Error: Unable to execute the external program.

The system cannot find the file specified."

:ph34r:

I thought I downloaded and installed everything. What can I check, or should I just try to download/reinstall again?

Anyone else ever have this problem?

Any and all suggestion appreciated....

Corey J. HarperCorey_Harper@HotMail.com

Posted

The correct syntax is  @SW_MAXIMIZE

Cheers

<{POST_SNAPBACK}>

No, @SW_SHOWMAXIMIZED is correct.

@SW_SHOWMAXIMIZED

  Activates the window and displays it as a maximized window. 

The problem (Judging by the variable names) is that it's the common mistake of assuming the working directory parameter is the path to the file.
Posted

The problem (Judging by the variable names) is that it's the common mistake of assuming the working directory parameter is the path to the file.

<{POST_SNAPBACK}>

That's why it's better to use the @ScriptDir variable in the filename.

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
×
×
  • Create New...